iotron/laravel-state-machine
A Laravel package for building state machines around Eloquent models. Define states and allowed transitions, guard status changes, and keep workflow logic organized, explicit, and easy to test. Helps replace scattered status checks with a clear, maintainable transition map.
iotron/laravel-state-machine brings a clean, expressive state machine implementation to Laravel applications. Define the states and transitions your Eloquent models can move through, then apply or inspect transitions with a fluent API — no more scattering status logic across controllers and services.
canTransitionTo() and transitionTo()How can I help you explore Laravel packages today?