Skip to content

moafred/etl-workflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bookeen-etl-workflow

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

Install

composer require "bookeen/etl-workflow:1.2.0"

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();

About

ETL workflow library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%