spatie/laravel-model-states
Add robust state behavior to Laravel Eloquent models using the state pattern and state machines. Represent each state as a class, cast states transparently to/from the database, and define clear, safe transitions with configurable state logic.
|
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?