spatie/laravel-model-states
Add state and state machine behavior to Laravel Eloquent models. Represent each state as a class, automatically serialize to/from the database, and perform clean, explicit transitions with configurable rules—ideal for workflows like payments, orders, and approvals.
|
Package
|
Constraint
|
|---|---|
| facade/ignition-contracts | ^1.0.2|^2.0 |
| illuminate/contracts | ^12.0|^13.0 |
| illuminate/database | ^12.0|^13.0 |
| illuminate/support | ^12.0|^13.0 |
| spatie/laravel-package-tools | ^1.19 |
| spatie/php-attribute-reader | ^1.0 |
| spatie/php-structure-discoverer | ^2.3.1 |
|
Package
|
Constraint
|
|---|---|
| illuminate/contracts | ^12.0|^13.0 |
| illuminate/database | ^12.0|^13.0 |
| illuminate/support | ^12.0|^13.0 |
| orchestra/testbench | ^10.0|^11.0 |
| pestphp/pest | ^4.1.4 |
| spatie/laravel-package-tools | ^1.9 |
| spatie/php-structure-discoverer | ^2.2 |
| symfony/var-dumper | ^7.3.5|^8.0 |
How can I help you explore Laravel packages today?