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

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

offbeatengineer/state
=====================

A finite state machine for PHP.

v1.3.3(3y ago)16MITPHP

Since Dec 26Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (9)Used By (0)

State - State machines made simple.
===================================

[](#state---state-machines-made-simple)

[![Build Status](https://camo.githubusercontent.com/fdeb4deade105ad2d8713352d9e7a11c8a418a7bc5ca44d59b8ffb1d51d2f1dc/68747470733a2f2f7472617669732d63692e6f72672f6f666662656174656e67696e6565722f73746174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/offbeatengineer/state)[![Total Downloads](https://camo.githubusercontent.com/eb656fe58cf8752d7971790c1a40c244153baf6e83fef2ab71e8ee956fca5469/68747470733a2f2f706f7365722e707567782e6f72672f6f666662656174656e67696e6565722f73746174652f646f776e6c6f616473)](https://packagist.org/packages/offbeatengineer/state)[![Latest Stable Version](https://camo.githubusercontent.com/876c07c66ae087ad06a4ac7c65234241ca56d484e354bd6f01e95497cc1e4640/68747470733a2f2f706f7365722e707567782e6f72672f6f666662656174656e67696e6565722f73746174652f762f737461626c65)](https://packagist.org/packages/offbeatengineer/state)[![Latest Unstable Version](https://camo.githubusercontent.com/e6d6cb526b287d7ff20db451b05357910ba970bb54709d9d6dc8b4d498ad584e/68747470733a2f2f706f7365722e707567782e6f72672f6f666662656174656e67696e6565722f73746174652f762f756e737461626c65)](https://packagist.org/packages/offbeatengineer/state)[![License](https://camo.githubusercontent.com/89fbb3d56e4f45494e9221e44377ba08de8cd014e176f8aa1d24815a5994cddd/68747470733a2f2f706f7365722e707567782e6f72672f6f666662656174656e67696e6565722f73746174652f6c6963656e7365)](https://packagist.org/packages/offbeatengineer/state)

`State` is a state machine implementation in PHP.

Check the [online documentation](https://state.offbeatengineer.com).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~353 days

Recently: every ~617 days

Total

8

Last Release

1327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/422bacf2382301247e4e9f5cdb929154627c353b6e8f244e39f0ac7093e058e8?d=identicon)[zhiyan](/maintainers/zhiyan)

---

Top Contributors

[![zhiyand](https://avatars.githubusercontent.com/u/36700?v=4)](https://github.com/zhiyand "zhiyand (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[echo511/plupload

Plupload component for Nette Framework.

104.4k1](/packages/echo511-plupload)

PHPackages © 2026

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