PHPackages                             pluf/workflow - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pluf/workflow

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pluf/workflow
=============

Fast workflow manager.

7.0.4(5y ago)32.0k2[2 issues](https://github.com/pluf/workflow/issues)4MITPHP

Since Feb 24Pushed 5y ago2 watchersCompare

[ Source](https://github.com/pluf/workflow)[ Packagist](https://packagist.org/packages/pluf/workflow)[ Docs](http://pluf.ir)[ RSS](/packages/pluf-workflow/feed)WikiDiscussions develop Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (123)Used By (4)

Workflow
========

[](#workflow)

[![Build Status](https://camo.githubusercontent.com/a7c45c6a7e15f0eda6abb570842d7d712e12fef18d611ed5dabe0f577a44120e/68747470733a2f2f7472617669732d63692e636f6d2f706c75662f776f726b666c6f772e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/pluf/workflow)[![codecov](https://camo.githubusercontent.com/d72bd88f0f2219f5926e08fd509302202480c7d458101cd6d7763954d05e452f/68747470733a2f2f636f6465636f762e696f2f67682f706c75662f776f726b666c6f772f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pluf/workflow)[![Coverage Status](https://camo.githubusercontent.com/e472e8c4ccebc590983315c2a266a6f647aca4222d5858937a8f907019d15d4d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f706c75662f776f726b666c6f772f62616467652e737667)](https://coveralls.io/github/pluf/workflow)[![Maintainability](https://camo.githubusercontent.com/7dfac6c10d1c3dbed568ff539378b4a0f9fa53fa81c9ab8329b12da3135cc694/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39653134353764626632663062636338623935332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/pluf/workflow/maintainability)[![Test Coverage](https://camo.githubusercontent.com/83d3dc005a5a427940a76f14dc599926a4109501a554ad7d61d95216af091af1/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39653134353764626632663062636338623935332f746573745f636f766572616765)](https://codeclimate.com/github/pluf/workflow/test_coverage)

A workflow module fo pluf.

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

[](#contributing)

If you would like to contribute to Pluf, please read the README and CONTRIBUTING documents.

The most important guidelines are described as follows:

> All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-2 Coding Standards.

What is it?
-----------

[](#what-is-it)

Workflow is aimed to provide a **lightweight**, highly **flexible** and **extensible**, **diagnosable**, **easy use** and **type safe** PHP 8 state machine implementation for enterprise usage.

Here is the state machine diagram which describes the state change of an ATM:

[![ATMStateMachine](https://camo.githubusercontent.com/08a5574670f45ca674d0314b1611bd388edef9efc57a196368a53fcfeac7ae91/687474703a2f2f68656b61696c69616e672e6769746875622e696f2f737175697272656c2f696d616765732f41544d53746174654d616368696e652e706e67)](https://camo.githubusercontent.com/08a5574670f45ca674d0314b1611bd388edef9efc57a196368a53fcfeac7ae91/687474703a2f2f68656b61696c69616e672e6769746875622e696f2f737175697272656c2f696d616765732f41544d53746174654d616368696e652e706e67)

The sample code could be found in folder *"tests\\ATMStateMachine.php"*.

Composer
--------

[](#composer)

Pluf Workflow has been deployed to pakcagest (php composer repository) repository, so you only need to add following dependency to the composer.json.

```
"pluf\workflow": "7.x"
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 68.3% of commits — single point of failure

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 ~13 days

Recently: every ~4 days

Total

120

Last Release

1836d ago

Major Versions

4.0.9 → 5.0.02018-10-16

4.0.1 → 5.0.12019-01-11

5.13.1 → 6.0.52020-03-15

6.0.21 → 7.0.12021-04-07

6.0.23 → 7.0.32021-06-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6371551?v=4)[Mostafa Barmshory](/maintainers/mostafabarmshory)[@mostafabarmshory](https://github.com/mostafabarmshory)

---

Top Contributors

[![hadimansouri](https://avatars.githubusercontent.com/u/8458562?v=4)](https://github.com/hadimansouri "hadimansouri (43 commits)")[![mostafabarmshory](https://avatars.githubusercontent.com/u/6371551?v=4)](https://github.com/mostafabarmshory "mostafabarmshory (20 commits)")

---

Tags

workflowpluf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pluf-workflow/health.svg)

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

###  Alternatives

[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514135.1M625](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[phpro/soap-client

A general purpose SoapClient library

8895.9M52](/packages/phpro-soap-client)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.9M203](/packages/illuminate-broadcasting)

PHPackages © 2026

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