PHPackages                             code-rhapsodie/dataflow-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. code-rhapsodie/dataflow-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

code-rhapsodie/dataflow-bundle
==============================

Data processing framework inspired by PortPHP

v5.4.1(7mo ago)1852.8k↓39.4%4[3 issues](https://github.com/code-rhapsodie/dataflow-bundle/issues)[1 PRs](https://github.com/code-rhapsodie/dataflow-bundle/pulls)2MITPHPPHP ^8.0CI passing

Since Oct 10Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/code-rhapsodie/dataflow-bundle)[ Packagist](https://packagist.org/packages/code-rhapsodie/dataflow-bundle)[ RSS](/packages/code-rhapsodie-dataflow-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (30)Used By (2)

Code Rhapsodie Dataflow Bundle
==============================

[](#code-rhapsodie-dataflow-bundle)

DataflowBundle is a bundle for Symfony 3.4+ providing an easy way to create import / export dataflow.

DataflowSymfonySupport5.x7.xyes4.x3.4 | 4.x | 5.x | 6.xyes3.x3.4 | 4.x | 5.xno2.x3.4 | 4.xno1.x3.4 | 4.xnoDataflow uses a linear generic workflow in three parts:

- one reader
- any number of steps that can be synchronous or asynchronous
- one or more writers

The reader can read data from anywhere and return data row by row. Each step processes the current row data. The steps are executed in the order in which they are added. And, one or more writers save the row anywhere you want.

As the following schema shows, you can define more than one dataflow:

[![Dataflow schema](src/Resources/doc/schema.png)](src/Resources/doc/schema.png)

Features
========

[](#features)

- Define and configure a Dataflow
- Run the Job scheduled
- Run one Dataflow from the command line
- Define the schedule for a Dataflow from the command line
- Enable/Disable a scheduled Dataflow from the command line
- Display the list of scheduled Dataflow from the command line
- Display the result for the last Job for a Dataflow from the command line
- Work with multiple Doctrine DBAL connections

Installation
------------

[](#installation)

Security notice: Symfony 4.x is not supported before 4.1.12, see

### Add the dependency

[](#add-the-dependency)

To install this bundle, run this command :

```
$ composer require code-rhapsodie/dataflow-bundle
```

#### Suggest

[](#suggest)

You can use the generic readers, writers and steps from [PortPHP](https://github.com/portphp/portphp).

For the writers, you must use the adapter `CodeRhapsodie\DataflowBundle\DataflowType\Writer\PortWriterAdapter` like this:

```
