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

This package is not auto-updated.

Last update: 2024-10-12 20:00:53 UTC


README

Latest Stable Version Total Downloads License composer.lock

Build Status StyleCI Scrutinizer Code Quality SensioLabsInsight

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

License

The MIT License (MIT). Please see License File for more information.