sebdesign/laravel-state-machine
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| juststeveking/laravel-flows | 0.87 | Laravel Flows offers a simple, expressive way to define and run multi-step workflows in Laravel. Compose reusable steps, control execution order, and keep complex business processes testable, readable, and maintainable. | 106 | 105 | 2 | 0 | 0 | 5.1 | — | MIT | 9 months ago | |
| juststeveking/laravel-business-process | 0.87 | 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 | 86 | 1 | 0.8 | 5.0 | MIT | 3 years ago | |
| norotaro/enumata | 0.87 | — | 3 | 4 | 1 | 303 | 1 | 2.9 | 26.0 | MIT | 1 year ago | |
| juststeveking/state-machine | 0.87 | 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 | |
| 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 | |
| free-agent/workflow-bundle | 0.86 | 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 | — | |
| laravolt/camunda | 0.86 | Laravel wrapper for the Camunda BPMN workflow engine. Start and manage process instances, query and complete user tasks, handle external tasks and incidents, and call the Camunda REST API through a fluent, config-driven client integrated with Laravel's service container. | 21 | — | 13 | — | 3 | 21.5 | 0.5 | — | 6 days ago | |
| winzou/state-machine | 0.86 | 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 | |
| bastsys/state-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | — | 5 years ago | |
| laravel-workflow/laravel-workflow | 0.85 | Durable Workflow (formerly Laravel Workflow) for Laravel lets you define workflows and activities as simple PHP classes, with queuing, parallel execution, retries, and queue/event integration for reliable async processes like agentic workflows, sagas, and data pipelines. | 1,271 | 1,254 | 89 | 61K | 37 | 55.4 | 43.2 | MIT | 1 week ago | |
| abather/spatie-laravel-model-states-actions | 0.85 | Add state-based actions to Laravel views with this extension for spatie/laravel-model-states. Define per-state authorization abilities, skip checks when needed, and customize action icons and colors. Includes transition checks via canTransitionTo. | 4 | 4 | 1 | 103 | 0 | 23.0 | 21.5 | MIT | 3 weeks ago | |
| winzou/state-machine-bundle | 0.85 | 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 | |
| elcodi/state-transition-machine-bundle | 0.85 | 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 | — | |
| cvek/workflow | 0.84 | — | 1 | 1 | 0 | 18 | 0 | 1.2 | 13.8 | MIT | 1 year ago | |
| integrated/workflow-bundle | 0.84 | A workflow bundle for PHP applications that lets you define state machines, transitions, and guards in configuration, then move records through them with a clean API. Includes event hooks, validation, and audit-friendly history. | 0 | 0 | — | 16 | — | 0.0 | 17.0 | — | — | |
| szana8/laraflow | 0.84 | LaraFlow is a Laravel package for adding workflows and state machines to Eloquent models. Define states, transitions, guards, and actions, then move records through controlled paths with events and validation for cleaner approval and status management. | 66 | 68 | 9 | 158 | 0 | 0.9 | 7.3 | MIT | 3 years ago | |
| piece/stagehand-fsm | 0.84 | Stagehand FSM is a Laravel/PHP finite state machine package for defining states, transitions, guards, and actions. Model workflows and object lifecycles with clean, testable state-driven logic. | 36 | — | 9 | — | 2 | 1.1 | 0.8 | BSD-2-Clause | 8 years ago |
|
| symfony/semaphore | 0.84 | The Symfony Semaphore Component manages semaphores, a mechanism that provides exclusive access to a shared resource. It is a standalone PHP library you can use in any project to coordinate concurrent processes and prevent race conditions. | 37 | 37 | 1 | 82K | 0 | 30.0 | 53.8 | MIT | 3 weeks ago | |
| juststeveking/workflow-engine | 0.84 | 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 | |
| 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 |
How can I help you explore Laravel packages today?