yohang/finite
yohang/finite is a lightweight PHP finite state machine library for modeling workflows and state transitions. Define states, transitions, guards, and callbacks with a fluent API, and use it in Laravel or any PHP application.
Architecture fit
yohang/finite is a framework-agnostic PHP finite state machine, not a Laravel package. It provides the graph primitive — states, transitions, events, guards and pre/post-transition hooks — and deliberately leaves persistence, transport and authorization to the application.yohang/finite will not give you those out of the box.Integration feasibility
Technical risk
spatie/laravel-model-states (more idiomatic Eloquent coupling) are credible alternatives. Choosing finite is choosing minimalism and owning the integration glue.Key questions
status column, a history table, or both — and who is allowed to write it directly?Stack fit
Migration path
Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?