yohang/Finite
A Simple PHP Finite State Machine observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 55
- Release rhythm 27
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5088
- days_rel: 275
- days_push: 275
- n_releases_24m: 1
Adoption not part of the score
1350 stars · 185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Finite is a lightweight, low-dependency PHP finite state machine library that manages state and transition graphs for stateful objects, using PHP Enums in version 2. It supports attaching business logic to states, listening to transition events, and includes Symfony and Twig integrations.
Use cases
- implement a state machine for PHP objects
- manage document workflow states like draft and published
- define state transitions with guards in PHP
- trigger domain logic on state transitions
- model order or approval workflows in PHP
- integrate a state machine into Symfony
When to choose
- you need a simple, lightweight state machine in PHP with minimal dependencies
- your project uses PHP Enums and wants enum-based state definitions
- you want Symfony or Twig integration for workflows
When to avoid
- you need a distributed or persistent workflow engine
- you're not working in PHP
- you need visual workflow modeling or BPMN support
Facets
library · maturity active
state-management workflow-automation middleware developer-tools backend web-development php finite-state-machine state-machine php-enums symfony workflow transitions domain-modeling automation web-server
2 sources
- readme: https://github.com/yohang/Finite · fetched 2026-08-28 · bb6a9f17f545
- homepage: http://yohan.giarel.li/Finite · fetched 2026-08-29 · 66e7f184db41
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yohang/Finite | main | 54 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem