A library for the definition and execution of job flows
LeapHub flow allows you to define and execute job flows by specifying an arbitrary amount of jobs and their pre and post conditions.
Create the jobs to be executed
Instantiate them and specify pre and post conditions
Execute the flow
The library provides a number of events which allow you to hook into the flow execution process. The following events are triggered during the execution of a flow:
flow.flow_exec.started: Immediately before a flow is executed.
flow.flow_exec.finished: After all job of a flow have successfully been executed.
flow.job_exec.started: Immediately before a job in a flow is executed.
flow.job_exec.finished: After a job in a flow has successfully been executed.
For more information on the flow events see
If the dev-dependencies are installed via composer, the test suite can be executed using:
bin/phpunit -c phpunit.xml.dist --coverage-html ./coverage
- Fork the repository
- Create a branch for your contribution e.g. my-awesome-feature
- Mage your changes (Follow the git commenting guidelines and code style)
- Run the tests to ensure everything works fine
- Crate a pull request