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
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-model-status | 0.83 | Add status history to any Eloquent model with Spatie’s HasStatuses trait. Set statuses (strings or enums), store reasons/extra info, and retrieve current or previous statuses via convenient helpers like status() and latestStatus(). | 1,051 | 1,054 | 84 | 49K | 0 | 37.1 | 27.3 | MIT | 1 month ago | |
| laravel/laravel | 0.72 | Laravel is a modern PHP web application framework with elegant syntax. It provides fast routing, dependency injection, Eloquent ORM, migrations, caching and sessions, queues, and real-time broadcasting—plus extensive documentation and tutorials. | 84,081 | 84,782 | 24,690 | 695K | 0 | 69.7 | 15.7 | — | 1 week ago |
How can I help you explore Laravel packages today?