Cipri
PEAR::File

PEAR::File is a PEAR package I maintain. File contains a set of classes that can be used to easily read, write or lock files. This provides a central interface to the many fopen/fclose/fread/fgets/etc etc functiones that have been included with PHP. While many of the features that were written have since been included in PHP itself, it still remains a helpfull class for PEAR developpers wishing to easily read/write files without having to worry about PHP versions.

PEAR::File is released under the  PHP License , and can be installed using the PEAR Installer. For more information, check out the File Homepage



Posts

Taking over maintainership of PEAR::File
By Cipriano Groenendal
Published: May 12, 2007

Some time ago, I helped fellow PEAR developper Helgi Þormar fix several problems with the File_CSV package. Parsing and interpreting CSV files is done with a gigantic stack of regular expressions, and the standard contains a lot of exceptions that need to be taken into consideration. While discussing the package, he mentioned he was mostly interested in the File_CSV part, and was planning on splitting this off from the main File package. At the time I expressed interest in the main package as I had gotten quite familiar with it back in the days of PHP 4.2, and when I was developing File_DNS which depends on it. Combine that with the patches I've created, the work I helped put into making all the tests work, and Helgi offered to add me as developer on the PEAR::File package, a position I gladly accepted.

Looking through the list of bugs closed since the latest release, the package seems quite stable, and it really is feature complete. I'd prolly go as far as to say it's been made almost obsoleted by more recent PHP versions. All in all, it doesn't look to be a huge amount of work, but still something I'd like to do. And ofcourse there are quite a few enhancements that can still be made to the package. We're waiting on a fix for a specific PEAR/PHP bug, so that we can release a new version with File_CSV split off. Once that's complete, I'll take over the File package, take a look at the open bugs and feature requests, and create a set of roadmaps for the future of the File package.

Also, I'd like to officially open the PEAR::File segment of this website.



View Comments (0)

Available releases for PEAR::File
Current Bugs for PEAR::File
Cipri | Software | Resumé | Gallery | Addictions | Contact
PEAR::Mail::Mime | PEAR::Mail::Mime::Decode | PEAR::File | PEAR::File::DNS
© 2007, Cipriano Groenendal