PHP ETL - Loaders

1.x-dev 2021-10-06 07:29 UTC

This package is auto-updated.

Last update: 2021-10-25 09:10:46 UTC


Minimum PHP Version


Set of ETL generic Loaders


In order to install dependencies please, launch following commands:

composer install

Loader - Transformer


use Flow\ETL\Loader\CallbackLoader;

$loader = new TransformerLoader(
    new Transformer(),
    new Loader(),

Loader - Callback


use Flow\ETL\Loader\CallbackLoader;

$loader = new CallbackLoader(
    function (Rows $rows) use (&$data) : void {
        $data = $rows->toArray();

Run Tests

In order to execute full test suite, please launch following command:

composer build

It's recommended to use pcov for code coverage however you can also use xdebug by setting XDEBUG_MODE=coverage env variable.