rodrigopedra/record-processor

v0.9.0 2019-09-04 04:32 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