reynholm / file-utils
A set of utils for working with files easily
Installs: 113
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/reynholm/file-utils
Requires
- php: >=5.2
- phpoffice/phpexcel: 1.8.0
Requires (Dev)
- codeception/aspect-mock: 0.4.2
- codeception/codeception: 2.0.2
- codeception/specify: dev-master
- codeception/verify: dev-master
This package is not auto-updated.
Last update: 2022-02-01 12:36:57 UTC
README
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