juhniorsantos/record-processor

Record Processor

v0.11 2021-01-12 14:22 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' )
        ->writeToHTMLTable()
        ->build();
    
    $output = $processor->process();
    
    echo $output->getOutput(), PHP_EOL;
    
    exit;

TODO

Add documentation