rezzza / jobflow
Makes batch job creation easier
Installs: 308
Dependents: 0
Suggesters: 0
Security: 0
Stars: 30
Watchers: 9
Forks: 5
Open Issues: 11
Type:standalone
Requires
- php: >=5.4.0
- knplabs/etl: dev-master
- symfony/dependency-injection: ~2.3
- symfony/event-dispatcher: ~2.3
- symfony/options-resolver: ~2.3
Requires (Dev)
- atoum/atoum: dev-master
- monolog/monolog: >1.0
- symfony/console: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/yaml: ~2.3
- videlalvaro/thumper: ~0.3
Suggests
- doctrine/orm: To use ORM loader
- monolog/monolog: To use monolog Extension
- symfony/console: To use CLI commands
- symfony/framework-bundle: To use Symfony Bundle
- videlalvaro/thumper: To use RabbitMq Extension
This package is not auto-updated.
Last update: 2022-02-01 12:26:52 UTC
README
Makes batch jobs creation Simpler, Easier, Faster.
ETL pattern support thanks to : https://github.com/docteurklein/php-etl
Warning : This code has not been executed in production.
Introduction
Have a look on the slides introduced during the sfPot Marseille on 2013-09-12 :
Usage
Have a look to the examples:
- first basic example
- advanced rabbitmq example:
- advanced rabbitmq example with pipe:
Frameworks
Symfony :
Add the following bundle in your kernel :
new \Rezzza\Jobflow\Plugin\SymfonyBundle\RezzzaJobflowBundle()
Create your job with jobflow and then run the symfony commands :
app/console jobflow:run myJobName --transport=[php|rabbitmq]
If you run rabbitmq transport you should run workers:
app/console jobflow:worker
Config
To setup rabbitmq, in your config.yml :
rezzza_jobflow: transports: rabbitmq: connections: jobflow: host: 'localhost' port: 5672 user: 'guest' password: 'guest' vhost: '/'
Tests
Units tests powered by atoum : https://github.com/atoum/atoum
Credits
Builder Architecture heavily inspired by Symfony Form Component : https://github.com/symfony/Form