rodrigopedra / record-processor
Record Processor
v3.0.0
2023-02-15 15:22 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- illuminate/pipeline: ^10.0
- illuminate/support: ^10.0
- league/csv: ^9.8
- phpoffice/phpspreadsheet: ^1.27
- psr/log: ^3.0
Requires (Dev)
- symfony/console: ^6.2
- symfony/process: ^6.2
- symfony/var-dumper: ^6.2
Suggests
- ext-dom: to use HTML writer
- ext-fileinfo: to use file based readers/writers
This package is auto-updated.
Last update: 2024-11-15 18:51:55 UTC
README
Process record-based sources using a pipeline approach
<?php require __DIR__ . './vendor/autoload.php'; use RodrigoPedra\RecordProcessor\ProcessorBuilder; $processor = (new ProcessorBuilder) ->readFromCSVFile(__DIR__ . '/storage/input.xlsx') ->serializeToHTMLTable() ->build(); $output = $processor->process(); echo $output->output(), \PHP_EOL; exit;
TODO
Add documentation