spatie/laravel-model-status
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().
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-tags | 0.84 | Add flexible tagging to Laravel Eloquent models with the HasTags trait. Create, attach, detach, and query tags with ease, with built-in support for tag types, translations, and sorting—ideal for organizing content across your app. | 1,740 | 1,760 | 286 | 474K | 0 | 41.0 | 37.9 | MIT | 3 months ago | |
| open-southeners/laravel-model-status | 0.84 | Lightweight Laravel model status handling using native PHP enums—no extra tables needed. Define a status enum, attach it via a PHP attribute, and use a trait for helpers like setStatus, setStatusWhen, hasStatus, and optional status events. | 0 | 0 | 0 | 81 | 0 | 21.1 | 30.4 | MIT | 1 month ago | |
| spatie/laravel-model-states | 0.83 | 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. | 1,290 | 1,291 | 107 | 316K | 0 | 37.8 | 38.3 | MIT | 1 month ago | |
| spatie/laravel-model-flags | 0.83 | Add lightweight “flags” to Eloquent models via a trait—store process state without extra columns. Check, set, and clear flags, and query with flagged/notFlagged scopes. Ideal for idempotent, restartable jobs like one-time emails or migrations. | 433 | 433 | 21 | 43K | 0 | 24.5 | 31.8 | MIT | 1 month ago | |
| spatie/laravel-enum | 0.81 | Laravel integration for spatie/enum: use Enum base class in Laravel, cast model attributes to enums (including nullable and arrays), and get Laravel-friendly behavior via custom casts and Castable support for Eloquent. | 365 | 368 | 36 | 118K | 0 | 11.3 | 34.7 | MIT | 1 year ago |
How can I help you explore Laravel packages today?