PHPackages                             kphoen/doctrine-state-machine - 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. kphoen/doctrine-state-machine

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

kphoen/doctrine-state-machine
=============================

Doctrine2 state machine behavior

1.1.0(10y ago)14226.1k141MITPHPPHP ~5.4|~7.0

Since Oct 25Pushed 9y ago2 watchersCompare

[ Source](https://github.com/K-Phoen/DoctrineStateMachineBehavior)[ Packagist](https://packagist.org/packages/kphoen/doctrine-state-machine)[ RSS](/packages/kphoen-doctrine-state-machine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (15)Used By (1)

DoctrineStateMachineBehavior [![Build Status](https://camo.githubusercontent.com/786c5182b7d2f6f13341bd3221ceabd2d7458237d8922bb97570cd7943d20277/68747470733a2f2f7472617669732d63692e6f72672f4b2d50686f656e2f446f637472696e6553746174654d616368696e654265686176696f722e706e67)](https://travis-ci.org/K-Phoen/DoctrineStateMachineBehavior)
============================================================================================================================================================================================================================================================================================================================================

[](#doctrinestatemachinebehavior-)

Doctrine2 behavior adding a finite state machine in your entities.

The state machine implementation used is [Finite](https://github.com/yohang/Finite).

Status
------

[](#status)

This project is **DEPRECATED** and should NOT be used.

If someone magically appears and wants to maintain this project, I'll gladly give access to this repository.

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

[](#installation)

Install the behavior adding `kphoen/doctrine-state-machine` to your composer.json or from CLI:

```
php composer.phar require kphoen/doctrine-state-machine
```

Tests
-----

[](#tests)

Just launch the following command:

```
./bin/phpspec run
```

License
-------

[](#license)

This behavior is released under the MIT license.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% 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 ~71 days

Recently: every ~94 days

Total

13

Last Release

3731d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.1.0PHP ~5.4|~7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66958?v=4)[Kévin Gomez](/maintainers/K-Phoen)[@K-Phoen](https://github.com/K-Phoen)

---

Top Contributors

[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (35 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![paulchubatyy](https://avatars.githubusercontent.com/u/98631?v=4)](https://github.com/paulchubatyy "paulchubatyy (1 commits)")[![pylebecq](https://avatars.githubusercontent.com/u/351471?v=4)](https://github.com/pylebecq "pylebecq (1 commits)")[![zeno-ce](https://avatars.githubusercontent.com/u/390315?v=4)](https://github.com/zeno-ce "zeno-ce (1 commits)")

---

Tags

statemachinedoctrine2extensionBehavior

### Embed Badge

![Health badge](/badges/kphoen-doctrine-state-machine/health.svg)

```
[![Health](https://phpackages.com/badges/kphoen-doctrine-state-machine/health.svg)](https://phpackages.com/packages/kphoen-doctrine-state-machine)
```

###  Alternatives

[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1893.9k](/packages/gomachan46-state-machine)[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

3030.6k](/packages/sjaakp-yii2-taggable)[mdmsoft/yii2-autonumber

Auto number extension for the Yii framework

1830.9k](/packages/mdmsoft-yii2-autonumber)

PHPackages © 2026

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