rodrigopedra/record-processor

v3.0.0 2023-02-15 15: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')
        ->serializeToHTMLTable()
        ->build();
    
    $output = $processor->process();
    
    echo $output->output(), \PHP_EOL;
    
    exit;

TODO

Add documentation