rezzza/jobflow

Makes batch job creation easier

Installs: 297

Dependents: 1

Stars: 28

Watchers: 7

Forks: 6

Open Issues: 11

Language: PHP

v0.4.1 2014-10-20 13:42 UTC

README

Build Status Scrutinizer Code Quality

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:

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

Bitdeli Badge