renedekat / blmreader
This package is abandoned and no longer maintained.
No replacement package was suggested.
BLM Reader to parse BLM files and output as CSV, Excel, Collection or Array
v2.0.3
2017-01-16 20:03 UTC
Requires
- php: ~5.6|~7.0
- renedekat/php-verbal-expressions: ^1.0
- tightenco/collect: ^5.3
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-10-12 20:00:53 UTC
README
BLM Reader
Install
Via Composer
$ composer require renedekat/blmreader
Usage
use ReneDeKat\Blm\Drivers\Simple; use ReneDeKat\Blm\Drivers\Csvq; // Create simple (array) output $simple = Simple::create()->loadFromFile("path/to/blmFile"); // OR $simple = Simple::create()->loadFromString($blmContents); $rawContents = $simple->getRawContents(); $output = $simple->getOutput(); $data = $output['data']; $definitions = $output['definitions'] $headers = $output['headers; // Create CSV output $csv = Csv::create()->loadFromFile("path/to/blmFile") $output = $csv->getOutput();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- [Rene de Kat][renedekat@9lives-development.cm]
License
The MIT License (MIT). Please see License File for more information.