juststeveking/state-machine
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| christhompsontldr/laravel-fsm | 0.89 | 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 | |
| spatie/laravel-model-states | 0.89 | 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 | |
| zerodahero/laravel-workflow | 0.88 | 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 | |
| aw-studio/laravel-states | 0.88 | 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 | |
| ringierimu/state-workflow | 0.88 | 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 | |
| free-agent/workflow-bundle | 0.88 | Free Agent's Workflow Bundle brings structured workflow management to PHP applications. Define multi-step processes, manage transitions, and track state in one lightweight package. A practical choice for projects needing simple, configurable workflow orchestration. | 2 | 4 | 2 | 0 | 0 | 0.0 | — | MIT | — | |
| kphoen/doctrine-state-machine | 0.88 | Bridges Symfony's StateMachine component with Doctrine ORM, letting entity state transitions be validated and applied automatically during persistence. Configure a state machine for an entity and Doctrine listeners enforce allowed transitions, keeping workflow state consistent and domain models clea... | 14 | 14 | 14 | 110 | 0 | 0.5 | 12.7 | MIT | 11 years ago | |
| wesnick/api-platform-workflow-extension | 0.87 | Integrates Symfony Workflow with API Platform by exposing workflow transitions as REST operations, letting clients move resources through workflow states via configurable endpoints with guard and access-control support. | 11 | — | 4 | — | 3 | 0.4 | 0.3 | — | — | |
| kphoen/doctrine-state-machine-bundle | 0.87 | 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 | |
| survos/workflow-helper-bundle | 0.87 | A Symfony bundle that adds convenience helpers around the Symfony Workflow component, simplifying workflow configuration, transitions, and guards so you can wire state machines into your application with less boilerplate. | 4 | 4 | 0 | 15 | 0 | 0.0 | 8.3 | — | 1 year ago | |
| markup/status-bundle | 0.87 | A lightweight PHP bundle for exposing and managing application status. Integrates cleanly with your framework to report health and runtime state through simple configuration. Useful for monitoring endpoints, status pages, and quick operational checks. | 0 | 0 | 0 | 0 | 0 | 0.4 | — | — | 9 years ago | |
| phpmentors/workflower-bundle | 0.87 | Symfony bundle that integrates the Workflower BPMN 2.0 workflow engine into PHP applications. Define and execute business processes, manage transitions and tokens, and wire workflow events into Symfony services, configuration, and dependency injection. | 24 | 24 | 12 | 23 | 3 | 1.6 | 4.7 | BSD-2-Clause | 9 years ago | |
| elcodi/state-transition-machine-bundle | 0.87 | 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 | — | |
| robertboes/laravel-interlock | 0.86 | Laravel Interlock is a lightweight package for preventing concurrent execution of critical code in Laravel apps. It helps avoid race conditions, duplicate jobs, and overlapping tasks with simple, configurable locks and a clean framework-friendly API. | 0 | — | 0 | — | 0 | 19.6 | — | MIT | 2 weeks ago | |
| hyn/state-machine | 0.86 | A lightweight state machine for Laravel that lets you define states and transitions on Eloquent models, validate and apply transitions cleanly, and keep business logic out of your controllers. | 16 | 16 | 1 | 3 | 0 | 0.1 | 1.0 | — | — | |
| jobmetric/laravel-state-machine | 0.86 | 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 | |
| juststeveking/laravel-business-process | 0.86 | Define business processes as explicit steps and transitions, then run them predictably in your Laravel app. Encapsulates multi-step workflow logic in dedicated classes, keeping controllers and models clean, and making complex flows easier to test, reason about, and maintain. | 66 | 66 | 1 | 78 | 1 | 0.8 | 5.0 | MIT | 3 years ago | |
| sebdesign/laravel-state-machine | 0.86 | 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 | |
| juststeveking/workflow-engine | 0.86 | A lightweight workflow engine for Laravel applications. Define workflows with states, transitions, guards, and actions to model approval or business processes, then move records through each step using a clean, expressive PHP API. | 8 | 8 | 0 | 501 | 0 | 18.0 | 28.0 | MIT | 1 month ago | |
| caner/state-machine | 0.86 | A lightweight Laravel state machine for Eloquent models. Define states, transitions and guards, apply them safely with validation, events and history, and keep workflow logic out of controllers and models. Ideal for approvals, orders and multi-step processes. | 51 | 51 | 2 | 0 | 0 | 0.3 | — | MIT | 4 years ago |
How can I help you explore Laravel packages today?