reynholm/file-utils

This package is abandoned and no longer maintained. No replacement package was suggested.

A set of utils for working with files easily

v1.3.0 2014-07-30 10:26 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status

Multiple tools for working with files

Abandoned!

This package is abandoned as you can see on packagist. I moved to python and I have no time to keep working on it. At least at this time.

##Examples:

###ArrayConversor

<?php
$csvFileName = $arrayConversor->toCsv($inputArray, $destinationFile);
$xlsFileName = $arrayConversor->toXls($inputArray, $destinationFile);

###CsvFileConversor

<?php
$array = $this->csvConversor->toArray($csvFile, $rowsToSkip, $useFirstRowAsKeys, $delimiterChar);

###XlsFileConversor

<?php
$array = $this->xlsConversor->toArray($xlsFile);

Check the unit tests folder for more examples.

To run the tests use the command

vendor\bin\codecept run unit