ETL workflow library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Context ajout attributs dans ContextInterface Aug 7, 2015
Event
Extractor
Loader remove knplabs dependency, php5.3 compatible Nov 12, 2014
Transformer
Workflow
.gitignore
README.md update readme Mar 16, 2015
composer.json change psr autolaod' Aug 3, 2017
composer.lock

README.md

bookeen-etl-workflow

This bundle provide a simple Extract-Transform-Load Workflow with ETL interfaces.

Install

composer require "bookeen/etl-workflow:1.2.1"

In your Smfony CLI

$workflow = new Workflow();

$workflow->setExtractor(new YourExtractor());
$workflow->setTransformer(new YourTransformer());
$workflow->setLoader(new YourLoader());

$workflow->process();

You can add a ProgressBar for CLI

$workflow = new Workflow();

// Dispatch ProgressBar helper for CLI
$dispatcher = $this->getContainer()->get('event_dispatcher');
$dispatcher->addSubscriber(new WorkflowProgressBarSubscriber($output));
$workflow->setDispatcher($dispatcher);

// ...

$workflow->process();