PHPackages                             phpmentors/workflower - 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. phpmentors/workflower

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

phpmentors/workflower
=====================

A BPMN 2.0 workflow engine for PHP

v1.4.1(6y ago)70652.9k↓34.5%146[32 issues](https://github.com/phpmentors-jp/workflower/issues)[7 PRs](https://github.com/phpmentors-jp/workflower/pulls)4BSD-2-ClausePHPPHP &gt;=5.3.9CI failing

Since Jul 22Pushed 2y ago48 watchersCompare

[ Source](https://github.com/phpmentors-jp/workflower)[ Packagist](https://packagist.org/packages/phpmentors/workflower)[ RSS](/packages/phpmentors-workflower/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (9)Used By (4)

Workflower
==========

[](#workflower)

A BPMN 2.0 workflow engine for PHP

`Workflower` is a BPMN 2.0 workflow engine for PHP. `Workflower` runs business processes using [the BPMN 2.0 specification](http://www.omg.org/spec/BPMN/2.0/). It's open-source and distributed under [the BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause).

[![Total Downloads](https://camo.githubusercontent.com/0758efccc5737a3e61354221f4761b90dc1fb48f9993929f9d76d2ca5bf26be6/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f776f726b666c6f7765722f646f776e6c6f616473)](https://packagist.org/packages/phpmentors/workflower)[![Latest Stable Version](https://camo.githubusercontent.com/70b24d5c1a940a10daccbdd71909da02f05d233b884e0f826291106edbfc197b/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f776f726b666c6f7765722f762f737461626c65)](https://packagist.org/packages/phpmentors/workflower)[![Latest Unstable Version](https://camo.githubusercontent.com/7d28f96340c1ef73410ba5550ec0f0e3502aca7f2b42d13b8676018d51397760/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f776f726b666c6f7765722f762f756e737461626c65)](https://packagist.org/packages/phpmentors/workflower)[![Build Status](https://camo.githubusercontent.com/5845d91bb245faeb0278055acf177388a50e0410362e1e138f4f9d3db125e17b/68747470733a2f2f7472617669732d63692e6f72672f7068706d656e746f72732d6a702f776f726b666c6f7765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpmentors-jp/workflower)

Features
--------

[](#features)

- Workflow
    - The workflow engine and domain model
- Process
    - Some interfaces to work with `ProcessInstance` objects
- Definition
    - `ProcessDefinitionRepository` to store all process definitions
    - BPMN 2.0 process definitions importer
- Persistence
    - Serialize/deserialize interfaces for `ProcessInstance` objects

### Supported workflow elements

[](#supported-workflow-elements)

- Connecting objects
    - Sequence flows
- Flow objects
    - Activities
        - Tasks
        - Service tasks
        - Send tasks
        - User tasks
        - Manual tasks
        - CallActivity tasks
        - SubProcess tasks
    - Events
        - Start events
        - End events
        - TerminateEnd events
    - Gateways
        - Exclusive gateways
        - Inclusive gateways
        - Parallel gateways
- Swimlanes
    - Lanes

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

[](#installation)

`Workflower` can be installed using [Composer](http://getcomposer.org/).

Add the dependency to `phpmentors/workflower` into your `composer.json` file as the following:

**Stable version:**

```
composer require phpmentors/workflower "1.4.*"

```

**Development version:**

```
composer require phpmentors/workflower "~2.0@dev"

```

Documentation
-------------

[](#documentation)

- [Quick Start Guide](https://github.com/phpmentors-jp/workflower/blob/master/docs/quick-start-guide.md)
- [Release Notes](https://github.com/phpmentors-jp/workflower/releases)

Support
-------

[](#support)

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/workflower/issues).

Copyright
---------

[](#copyright)

Copyright (c) 2015-2019 Atsuhiro Kubo and [contributors](https://github.com/phpmentors-jp/workflower/wiki/Contributors), All rights reserved.

License
-------

[](#license)

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 93.1% 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 ~286 days

Recently: every ~351 days

Total

8

Last Release

1950d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52985?v=4)[Atsuhiro Kubo](/maintainers/iteman)[@iteman](https://github.com/iteman)

---

Top Contributors

[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (298 commits)")[![ateodorescu](https://avatars.githubusercontent.com/u/1575894?v=4)](https://github.com/ateodorescu "ateodorescu (15 commits)")[![SirWaddles](https://avatars.githubusercontent.com/u/769399?v=4)](https://github.com/SirWaddles "SirWaddles (5 commits)")[![77web](https://avatars.githubusercontent.com/u/296615?v=4)](https://github.com/77web "77web (2 commits)")

---

Tags

bpmbpmnbpmsflowphpprocessworkflowprocessworkflowflowbpmbpmn

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpmentors-workflower/health.svg)

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

###  Alternatives

[formapro/pvm

The library provides us with a frame to build a workflow or a business process such as BPMN. Could execute tasks in parallel or delayed tasks

36723.8k](/packages/formapro-pvm)[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[phpmentors/workflower-bundle

A Symfony bundle for Workflower

2415.2k](/packages/phpmentors-workflower-bundle)[symfony-bundles/fork

SymfonyBundles Fork Library

178.0k](/packages/symfony-bundles-fork)[shrink0r/workflux

Finite state machine for php.

375.6k1](/packages/shrink0r-workflux)

PHPackages © 2026

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