Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

State Machine Laravel Package

samuel4x4/state-machine

A state machine package for Laravel and PHP that lets you define states and transitions, enforce allowed changes, and attach guards or actions to workflow transitions. Useful for modeling order, payment, and approval flows directly in your applications.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
samuel4x4/state-machine-bundle 0.87 samuel4x4/state-machine-bundle provides a simple state machine for PHP/Laravel apps: define states and transitions, guard changes, and hook actions into workflow updates. Keep status logic centralized, explicit, and testable instead of scattering conditionals across models. 0 0 0 0 0 5.8 — MIT 8 months ago
View on GitHub
juststeveking/state-machine 0.84 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
View on GitHub
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
View on GitHub
Context7
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
caner/state-machine 0.84 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
View on GitHub
bkfdev/eloquent-states-machine 0.83 A Laravel package that adds finite state machines to Eloquent models. Define states and transitions, guard changes with conditions, and hook into lifecycle events through a fluent, testable API that keeps status logic clean and out of your models. 0 0 0 0 0 0.3 — MIT 3 years ago
View on GitHub
bidzm/eloquent-state-machine 0.82 A Laravel package that adds state machine behavior to Eloquent models. Define states and allowed transitions, guard or authorize changes, and persist the current state automatically. Keeps model lifecycle logic clean and predictable, with hooks and events for reacting to transitions. 1 1 0 0 0 0.0 — MIT —
View on GitHub
ilvalerione/state-machine 0.82 A lightweight Laravel/PHP state machine for defining states and transitions, guarding changes, and running callbacks on state updates. Useful for modeling workflows and entity lifecycles cleanly in your application. 1 1 0 0 0 0.3 — MIT 7 years ago
View on GitHub
iotron/laravel-state-machine 0.82 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
View on GitHub
jobmetric/laravel-state-machine 0.80 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
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib