PHPackages                             leaphub/leaphub-flow - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. leaphub/leaphub-flow

ActiveLibrary[Queues &amp; Workers](/categories/queues)

leaphub/leaphub-flow
====================

A library for the definition and execution of job flows

1.1.2(8y ago)29221[1 issues](https://github.com/leaphub/leaphub-flow/issues)MITPHPPHP &gt;=5.5

Since Aug 3Pushed 8y ago2 watchersCompare

[ Source](https://github.com/leaphub/leaphub-flow)[ Packagist](https://packagist.org/packages/leaphub/leaphub-flow)[ RSS](/packages/leaphub-leaphub-flow/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

LeapHub Flow Engine
===================

[](#leaphub-flow-engine)

[![Build Status](https://camo.githubusercontent.com/60813df9cd100ca3ba5351b28e1a8d895bcce95cf54d2dc270270dd384c86f6d/68747470733a2f2f7472617669732d63692e6f72672f6c6561706875622f6c6561706875622d666c6f772e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/leaphub/leaphub-flow)

LeapHub flow allows you to define and execute job flows by specifying an arbitrary amount of jobs and their pre and post conditions.

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

[](#installation)

Usage
-----

[](#usage)

1. Create the jobs to be executed
2. Instantiate them and specify pre and post conditions
3. Execute the flow

Events
------

[](#events)

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 `Leaphub\Flow\Event\FlowEvents`.

Running the tests
-----------------

[](#running-the-tests)

If the dev-dependencies are installed via composer, the test suite can be executed using:

```
bin/phpunit -c phpunit.xml.dist --coverage-html ./coverage

```

Contributing
------------

[](#contributing)

1. Fork the repository
2. Create a branch for your contribution e.g. my-awesome-feature
3. Mage your changes (Follow the git commenting guidelines and code style)
4. Run the tests to ensure everything works fine
5. Crate a pull request

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity61

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~250 days

Total

4

Last Release

3236d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.3

1.1.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/108d1372106a40a104429a31c9ebdc6d87d006d8b8f8fe3bbccc319656eaa1bd?d=identicon)[cfoehrdes](/maintainers/cfoehrdes)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leaphub-leaphub-flow/health.svg)

```
[![Health](https://phpackages.com/badges/leaphub-leaphub-flow/health.svg)](https://phpackages.com/packages/leaphub-leaphub-flow)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k162.1M3.4k](/packages/symfony-form)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
