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

Abandoned → [dhii/state-machine-interface](/?search=dhii%2Fstate-machine-interface)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

dhii/machine-state-machine-interface
====================================

Interfaces for state machines.

v0.1-alpha1(8y ago)02.3k6MITPHPPHP ^5.3 | ^7.0

Since Sep 25Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Dhii/machine-state-machine-interface)[ Packagist](https://packagist.org/packages/dhii/machine-state-machine-interface)[ RSS](/packages/dhii-machine-state-machine-interface/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (1)Dependencies (8)Versions (4)Used By (6)

Dhii - State Machine Interface
==============================

[](#dhii---state-machine-interface)

[![Build Status](https://camo.githubusercontent.com/49507296a21ce66dca879e536990efa8a570dad86b284d9e5ee030a16c6c3d8a/68747470733a2f2f7472617669732d63692e6f72672f446869692f6d616368696e652d73746174652d6d616368696e652d696e746572666163652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/Dhii/machine-state-machine-interface)[![Code Climate](https://camo.githubusercontent.com/f27cece7eb098ab3c74045a83ba7dcfd747a330d02788b46dfa81f1508974505/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f6d616368696e652d73746174652d6d616368696e652d696e746572666163652f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/machine-state-machine-interface)[![Test Coverage](https://camo.githubusercontent.com/dcbe490be82966c3c3466f629402d4dcd55fec1a29160ac4895e52a877e63386/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f6d616368696e652d73746174652d6d616368696e652d696e746572666163652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/machine-state-machine-interface/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/912c191c8af0b9a8f78dd865daa5c12e783516fae788ae12501adb61c09b7c4d/68747470733a2f2f706f7365722e707567782e6f72672f646869692f6d616368696e652d73746174652d6d616368696e652d696e746572666163652f76657273696f6e)](https://packagist.org/packages/dhii/machine-state-machine-interface)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Interfaces for state machines.

This package aims to provide a standard set of interfaces for working with state machines. For clarity and completion, some terminology must first the defined:

**Status**

A status is a key or code that identifies a state. State machines will often have a status key for every possible state as well as a current status.

**State**

A state is a conceptual "frame" in time for a given object. Unlike a status which is simply a key or code, a state typically holds all information about a machine or object at a given status or point in time.

**Transition**

A transition is a key or code that represents an operation that can be performed on a machine or object. This operation can influence that subject's status and state.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![mecha](https://avatars.githubusercontent.com/u/5425482?v=4)](https://github.com/mecha "mecha (37 commits)")[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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