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,730 | 1,750 | 287 | 406K | 0 | 46.6 | 38.5 | MIT | 1 month ago | |
| spatie/laravel-model-flags | 0.83 | Add lightweight flags to Eloquent models without extra columns. Set and check flags, then query with handy flagged/notFlagged scopes. Ideal for idempotent, restartable jobs and commands (e.g., send a mail only once per user). | 430 | 431 | 21 | 43K | 0 | 26.5 | 32.6 | MIT | 1 month ago | |
| spatie/laravel-model-states | 0.83 | 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. | 1,277 | 1,277 | 107 | 275K | 0 | 39.2 | 37.9 | MIT | 1 month ago | |
| spatie/laravel-enum | 0.83 | 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. | 364 | 365 | 36 | 110K | 1 | 31.4 | 40.3 | MIT | 1 year ago | |
| spatie/laravel-stats | 0.83 | Lightweight Laravel package to track stat changes in your app over time. Create a stats class, call increase/decrease on events (e.g., subscriptions), then query totals, increments, decrements, and differences grouped by day/week/month for any date range. | 448 | 452 | 34 | 8K | 0 | 27.2 | 21.1 | MIT | 1 year ago | |
| spatie/laravel-model-info | 0.82 | Inspect Laravel Eloquent models to discover their file name, table name, attributes (name/type) and relations (name/type/related model). Also includes a ModelFinder to automatically locate all models in your application. | 182 | 183 | 24 | 12K | 0 | 28.6 | 29.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?