PHPackages                             pwm/s-flow - 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. pwm/s-flow

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

pwm/s-flow
==========

A lightweight library for defining state machines

4.0.1(7y ago)742.5kMITPHP &gt;=7.2.0

Since May 18Compare

[ Source](https://github.com/pwm/s-flow)[ Packagist](https://packagist.org/packages/pwm/s-flow)[ Docs](https://github.com/pwm/s-flow)[ RSS](/packages/pwm-s-flow/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/pwm/s-flow).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity62

Established project with proven stability

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 ~60 days

Recently: every ~73 days

Total

6

Last Release

2615d ago

Major Versions

1.0.0 → 2.0.02018-05-24

2.1.0 → 3.0.02018-09-28

3.0.0 → 4.0.02019-03-12

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

4.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/361d01dea838dfee1327e7c6e803e7f53ae92b48d6971bcaeca43d3d49504c19?d=identicon)[pwm](/maintainers/pwm)

---

Tags

workflowevent sourcingfsmstate-machine

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pwm-s-flow/health.svg)

```
[![Health](https://phpackages.com/badges/pwm-s-flow/health.svg)](https://phpackages.com/packages/pwm-s-flow)
```

###  Alternatives

[symfony/workflow

Provides tools for managing a workflow or finite state machine

62842.3M170](/packages/symfony-workflow)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

188.5k](/packages/tarfin-labs-event-machine)[shrink0r/workflux

Finite state machine for php.

375.6k1](/packages/shrink0r-workflux)[ringierimu/state-workflow

Laravel State Workflow provide tools for defining and managing workflows and activities with ease.

3251.1k](/packages/ringierimu-state-workflow)[phpmentors/stagehand-fsm

A finite state machine

361.1k](/packages/phpmentors-stagehand-fsm)[daveawb/understated

A PHP Finite State Machine for Laravel 5+

302.0k](/packages/daveawb-understated)

PHPackages © 2026

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