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

Eloquent States Machine Laravel Package

bkfdev/eloquent-states-machine

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
karriere/state 0.86 A Laravel state machine for Eloquent models. Define states and transitions, guard changes, fire events, and keep a history of every transition—ideal for orders, payments, approvals, and other workflow-driven records. 17 17 1 171 0 6.2 14.9 NOASSERTION 8 months ago
View on GitHub
iotron/laravel-state-machine 0.84 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
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
hyn/state-machine 0.84 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 — —
View on GitHub
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
View on GitHub
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
View on GitHub
samuel4x4/state-machine 0.83 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. 0 0 0 0 0 5.9 — MIT 8 months ago
View on GitHub
iben12/laravel-statable 0.83 Laravel Statable makes it easy to add sortable, searchable, paginated data tables to Laravel apps. Define columns and filters on your Eloquent model with a simple trait, then render responsive server-side tables using Blade components and minimal setup. 96 96 12 7K 0 1.1 25.4 MIT 5 years ago
View on GitHub
ambengers/kinetic 0.83 Kinetic is a Laravel package for adding state machines to Eloquent models. Define states and allowed transitions, guard changes with conditions, and hook into lifecycle events so status workflows stay explicit, consistent, and easy to maintain. 90 90 7 1K 0 3.5 17.2 MIT 10 months ago
View on GitHub
spatie/laravel-model-states 0.82 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
View on GitHub
Context7
aw-studio/laravel-states 0.82 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
View on GitHub
sebdesign/laravel-state-machine 0.82 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
View on GitHub
ringierimu/state-workflow 0.81 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
View on GitHub
orobogenius/laravel-model-statable 0.81 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
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.
frankyso/ipaymu
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