Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
/ jobflow Public archive

Makes batch jobs creation Simpler, Easier, Faster.

License

Notifications You must be signed in to change notification settings

rezzza/jobflow

Repository files navigation

Jobflow

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