FireFlyFile is a simple class with a collection of helper methods to help you do the simple things with files that PHP doesn’t offer such as recursive folder copy or the frustrating naming conventions that have you reaching for the manual time and time again due to poor naming convention.
It can be looked upon as a File Helper class and it’s beauty is in it’s simplicity – for example creating a file with some text is a simple one liner as follows… FireFlyFile::touch(”/path/to/myfile/”, “some text”); For people that don’t like static methods you can also use the traditional approach by instantiating the class and calling the method.
To make sure you are getting the best I have provided unit tests using the PHPUnit testing framework*. I am using this library to great success in production in a number of systems.
- framework not