27/07
2015
Wallogit.com
2017 © Pedro Peláez
Provide simple api to read and write files
This provide a simple api to read and write files, (*1)
It is best installed it through packagist
by including desarrolla2/file in your project composer.json require:, (*3)
``` json "require": { // ... "desarrolla2/file": "*" }, (*4)
### Without Composer You can also download it from [Github] (https://github.com/desarrolla2/File), but no autoloader is provided so you'll need to register it with your own PSR-4 compatible autoloader. ## Usage ``` php <?php require __DIR__ . '/../vendor/autoload.php'; use Desarrolla2\File\File; // Simple api to write file File::write($fileName,$data); // Simple api to read file File::read($fileName);
Current supported formats are:, (*5)
You can contact with me on @desarrolla2., (*6)