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

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

daikon/state-machine
====================

Finite state-machine for php.

40PHP

Since Jul 5Pushed 8y ago3 watchersCompare

[ Source](https://github.com/daikon-cqrs/state-machine)[ Packagist](https://packagist.org/packages/daikon/state-machine)[ RSS](/packages/daikon-state-machine/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

state-machine
=============

[](#state-machine)

[![Build Status](https://camo.githubusercontent.com/5a9f65784c4b4a5ec4722d6e5c7c1ea2efc47d4440ed44792ab07c0769e1440e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696b6f6e2d637172732f73746174652d6d616368696e652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daikon-cqrs/state-machine/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/d9965b2331308e39da33dd7753b526eed8b3f48df72a8abdfef37c17d6de132e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696b6f6e2d637172732f73746174652d6d616368696e652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daikon-cqrs/state-machine/?branch=master)[![Code Quality](https://camo.githubusercontent.com/47b7c91132b29196ce4ed6a89b4eb1203ae1754beb9253d8a5ce1b19c338004d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461696b6f6e2d637172732f73746174652d6d616368696e652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/daikon-cqrs/state-machine/?branch=master)

Nice reads that inspired the implementation:

- [Why developers should be force-fed state machines](http://www.shopify.com/technology/3383012-why-developers-should-be-force-fed-state-machines)
- [Why Developers Never Use State Machines](http://www.skorks.com/2011/09/why-developers-never-use-state-machines/)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfca9866790a54b54ae14996dfad19438332d0167633206a22d5df1cfd14558d?d=identicon)[shrink0r](/maintainers/shrink0r)

![](https://www.gravatar.com/avatar/cfd8067a48429509afed9e9e36d51b8d5bfecd208fe9672ef7fc4a354ea7541b?d=identicon)[MrHash](/maintainers/MrHash)

---

Top Contributors

[![shrink0r](https://avatars.githubusercontent.com/u/202678?v=4)](https://github.com/shrink0r "shrink0r (2 commits)")

---

Tags

fsmphp71state-machine

### Embed Badge

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

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

###  Alternatives

[magemojo/m2-ce-cron

Replacement package for Magento 2 Cron Functionality

163331.1k](/packages/magemojo-m2-ce-cron)[minwork/array

Pack of advanced array functions specifically tailored for: associative (assoc) array, multidimensional array, array of objects and handling nested array elements

66268.2k5](/packages/minwork-array)[webinarium/datatables-bundle

DataTables Symfony bundle

1732.4k](/packages/webinarium-datatables-bundle)

PHPackages © 2026

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