php-etl icon indicating copy to clipboard operation
php-etl copied to clipboard

Extract-Transform-Load library

Results 8 php-etl issues
Sort by recently updated
recently updated
newest added

It is in readme, and it fails: ``` $ bin/pimple-etl config.sample.php PHP Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileObject::__construct(csv/users.csv): failed to open stream: No such file or directory' in...

Called in [DBALLoader](https://github.com/docteurklein/php-etl/blob/master/src%2FKnp%2FETL%2FLoader%2FDoctrine%2FDBALLoader.php#L24) on `ContextInterface`.

New idea. `TransformerChain` which implements `TransformerInterface`. It accepts collection of transformers in the constructor and iterates over them and calls `transform()` on each of them.

http://symfony.com/doc/current/components/console/helpers/table.html

``` php $etl = new Knp\Etl(); $etl ->extract('from.csv') ->transform(function(array $data) { return array_change_key_case($data) }) ->load('to.json') ; ``` What do you think?

@docteurklein Does this makes sense to you?

I propose to you to add a system of workflow like that. We can call several workflow successively.