Release: AIS_IMAP 1.0
I just committed the first public release of a great PHP library. The library provides a set of object-oriented wrappers around the PHP IMAP extension. This makes reading from mailboxes in PHP applications pleasant and easy, instead of ‘oh my god, how could anyone have ever developed the IMAP spec like this…”. No joke, its extremely non-easy and non-obvious to correctly build the body, and retrieve the attachments, of a message retrieved over IMAP, and these classes, among other things, make it dead simple.
The code was developed by my main employer, AISLabs Inc, in Chicago. I was the author, and am very happy with how things turned out. I’ve already used it on a project and never having to call imap_fetchstructure has saved me a ton of time, tears and hair pulling. If you’re writing email aware code, I’m sure this code could save you some stress too.
I’ve taken a lot of care to get it production quality (rigid adherence to PEAR coding standards, full and useful documentation for the class and for all methods, example code, etc.). One thing thats not in place is a unit test suite. This is likely something to come next, though contributions here would be much appreciated.
Check out the code on GitHub if you’re curious: https://github.com/snyderp/AIS_IMAP