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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 60 | 0 | 18.6 | 27.9 | MIT | 3 months ago | |
| 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,745 | 1,764 | 285 | 514K | 0 | 45.5 | 39.7 | MIT | 1 month ago | |
| spatie/laravel-model-states | 0.83 | Add state and state machine behavior to Eloquent models. Represent each state as its own class, automatically cast and store states in the database, and define clean, safe transitions and state-specific behavior in your Laravel apps. | 1,296 | 1,297 | 106 | 368K | 0 | 35.1 | 38.5 | MIT | 2 months 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. | 456 | 457 | 21 | 45K | 0 | 21.9 | 31.2 | MIT | 3 months ago | |
| spatie/laravel-enum | 0.80 | 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. | 366 | 369 | 36 | 147K | 0 | 11.3 | 36.0 | MIT | 1 year ago |
How can I help you explore Laravel packages today?