teknoo/states
Teknoo States provides a simple, extensible finite state machine implementation for PHP. Model objects with states and transitions, define allowed changes, and trigger callbacks on entry, exit, or transition events—useful for workflows, order processing, and status management.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| teknoo/states-bundle | 0.87 | Teknoo States Bundle is a Symfony bundle for defining and managing object states and transitions. It provides configurable state machines, transition rules, and workflow integration for PHP applications that need clear lifecycle handling. | 2 | 3 | 0 | 7 | 0 | 0.0 | 5.1 | MIT | — | |
| ringierimu/state-workflow | 0.85 | State workflow for Laravel Eloquent models: define states and allowed transitions, guard changes with custom rules, and react to transitions via events. Centralizes business status logic so it stays clean, testable, and consistent across your app instead of scattered controllers. | 31 | 34 | 12 | 826 | 0 | 7.4 | 20.9 | MIT | 8 months ago | |
| spatie/laravel-model-states | 0.84 | Add state behaviour to Eloquent models by combining the state pattern and state machines. Define each state as a class, cast it on your model, handle database serialization automatically, and transition between states easily. | 1,307 | 1,309 | 107 | 659K | 0 | 40.2 | 43.9 | MIT | 2 days ago | |
| christhompsontldr/laravel-fsm | 0.84 | A plug-and-play finite state machine for Laravel with guards, actions, callbacks, events, and transition logging. Define states and transitions per model column to power order workflows, verification flows, and more. | 8 | 7 | 0 | 5 | 0 | 12.0 | 2.9 | MIT | 5 months ago | |
| bastsys/state-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | — | 5 years ago | |
| norotaro/enumata | 0.84 | — | 3 | 4 | 1 | 303 | 1 | 2.9 | 26.0 | MIT | 1 year ago | |
| sebdesign/laravel-state-machine | 0.84 | A lightweight Laravel package for adding state machines to Eloquent models. Define states, transitions, and guards, then move records safely between states with validation, events, and clear exceptions. Integrates cleanly with Laravel and supports custom classes. | 341 | — | 59 | — | 2 | 12.1 | 0.4 | MIT | 7 months ago | |
| aw-studio/laravel-states | 0.84 | Laravel States adds state machine support to Eloquent models, letting you define states, transitions, and guards cleanly. Track model status, control allowed changes, and keep your workflows predictable without extra boilerplate. | 44 | 44 | 0 | 33 | 1 | 19.9 | 3.9 | — | 2 weeks ago | |
| elcodi/state-transition-machine-bundle | 0.83 | Symfony bundle from the Elcodi e-commerce suite that provides state transition machine support for managing workflow states. This package is a read-only mirror maintained via the main elcodi/elcodi repository under the MIT license. | 0 | 0 | 0 | 20 | 0 | 0.0 | 18.3 | MIT | — | |
| juststeveking/state-machine | 0.83 | A lightweight state machine for Laravel and PHP applications. Define states and allowed transitions, then move models or objects through workflows with clear, testable rules and guard conditions. | 2 | 2 | 0 | 316 | 0 | 10.7 | 30.6 | MIT | 5 months ago | |
| orobogenius/laravel-model-statable | 0.83 | Add state and status management to any Eloquent model. Apply the trait to define allowed statuses, transition between them, query by state with scopes, and optionally track status history, all through a simple, expressive Laravel API. | 11 | — | 0 | — | 0 | 0.1 | — | MIT | 7 years ago | |
| jobmetric/laravel-state-machine | 0.83 | jobmetric/laravel-state-machine adds finite state machines to Laravel applications. Define states and transitions for Eloquent models, enforce guards, trigger events and callbacks, and manage safe state changes with a clean, configurable API. | 6 | — | 1 | — | 0 | 0.4 | — | MIT | 1 year ago | |
| zerodahero/laravel-workflow | 0.83 | Integrate the Symfony Workflow component into Laravel. Define workflows and state machines in config, attach them to Eloquent models, and transition between places with a simple facade. Supports Laravel 10-13. | 204 | 206 | 45 | 24K | 2 | 29.8 | 33.8 | MIT | 1 month ago | |
| kphoen/doctrine-state-machine-bundle | 0.83 | Symfony bundle that integrates the Doctrine finite state machine library, letting you define state machines and transitions in configuration and expose them as container services for clean, testable workflow logic in your PHP applications. | 45 | 48 | 19 | 99 | 5 | 2.5 | 8.4 | — | 10 years ago | |
| innoge/laravel-enum-states | 0.82 | A state machine for Eloquent built on native PHP enums. Define transitions, defaults, and lifecycle actions on the enum itself, register fields with a single attribute, and keep your normal model casts. Invalid transitions throw; defaults apply automatically. | 5 | 5 | 1 | 3K | 0 | 20.1 | 44.0 | MIT | 5 days ago | |
| winzou/state-machine | 0.82 | Lightweight PHP state machine library. Define graphs with states, transitions, and guard/before/after callbacks, then apply and validate transitions on your domain objects. Supports multiple graphs per object and configurable state property paths. | 518 | 524 | 74 | 135K | 4 | 19.3 | 39.5 | MIT | 7 months ago | |
| teknoo/immutable | 0.82 | teknoo/immutable helps PHP and Laravel developers build immutable value objects and data structures, reducing accidental state changes and making code easier to reason about, test, and maintain. Lightweight, framework-agnostic, and simple to drop into existing projects. | 4 | 5 | 0 | 12K | 0 | 0.0 | 46.9 | BSD-3-Clause | — | |
| winzou/state-machine-bundle | 0.82 | Lightweight PHP/Symfony bundle for defining state machines on your domain objects. Configure graphs with states, transitions, and optional guard/before/after callbacks via YAML/XML/PHP, then apply and test transitions without hard-coded state logic. | 338 | 343 | 43 | 98K | 6 | 18.6 | 38.1 | MIT | 7 months ago | |
| iotron/laravel-state-machine | 0.81 | 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. | 4 | 4 | 0 | 73 | 0 | 16.1 | 18.8 | MIT | 2 months ago | |
| teknoo/east-foundation | 0.81 | teknoo/east-foundation provides core PHP building blocks for the East framework, including dependency injection, service configuration, and reusable foundation components to bootstrap modular applications. | 4 | 5 | 0 | 715 | 0 | 0.0 | 29.8 | BSD-3-Clause | — |
How can I help you explore Laravel packages today?