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-deleted-models | 0.96 | Automatically copy deleted Eloquent model attributes into a deleted_models table to create a recycle bin for records. Restore deleted models by ID when needed. An alternative to soft deletes for preserving deletion history without keeping rows in place. | 411 | 413 | 26 | 21K | 0 | 13.9 | 25.1 | MIT | 8 months ago | |
| spatie/laravel-view-models | 0.95 | Move complex view-prep logic out of controllers into dedicated Laravel view model classes. Extend Spatie\ViewModels\ViewModel to transform data for views, expose computed properties, and keep templates clean and focused. | 1,093 | 1,100 | 60 | 85K | 0 | 18.8 | 27.6 | MIT | 8 months ago | |
| spatie/laravel-visit | 0.95 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.0 | 11.1 | MIT | 8 months ago | |
| spatie/laravel-html | 0.95 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 559K | 0 | 22.3 | 41.1 | MIT | 8 months ago | |
| spatie/laravel-options | 0.95 | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 252 | 255 | 9 | 15K | 0 | 13.4 | 26.3 | MIT | 7 months ago | |
| spatie/laravel-searchable | 0.94 | Structured, case-insensitive search across Eloquent models and other sources. Register models/attributes (or custom search aspects) and get grouped, typed results with titles and URLs—ideal for building unified search pages in Laravel apps. | 1,373 | 1,381 | 110 | 77K | 0 | 25.3 | 25.5 | MIT | 8 months ago | |
| spatie/laravel-package-tools | 0.92 | PackageServiceProvider base class for Laravel packages that simplifies registering config files, migrations, views, translations, routes, commands, assets, and view components, with publishable resources and a configurable install command. | 951 | 963 | 164 | 14M | 0 | 37.3 | 63.9 | MIT | 1 month ago | |
| spatie/laravel-server-monitor | 0.91 | Keep an eye on the health of all your servers: built-in checks for disk, memory, and processes, custom checks when you need them, and Slack or email alerts when something goes wrong. | 847 | 853 | 95 | 5K | 0 | 31.1 | 13.6 | MIT | 3 months ago | |
| spatie/laravel-data | 0.91 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.3 | 63.5 | MIT | 2 weeks ago | |
| spatie/laravel-migrate-fresh | 0.91 | Adds a migrate:fresh Artisan command to drop all database tables and rebuild from migrations, even if you don’t implement down() methods. Supports MySQL, SQLite, PostgreSQL, and SQL Server. (Built into Laravel 5.5+) | 182 | 181 | 23 | 285 | 0 | 3.4 | 4.0 | MIT | 8 years ago | |
| spatie/laravel-model-cleanup | 0.90 | Deprecated: use Laravel’s built-in Prunable. Spatie’s laravel-model-cleanup deletes unneeded Eloquent records via a cleanUp() configuration per model, and an artisan command to prune records older than a given age or matching custom rules. | 394 | 399 | 43 | 293 | 0 | 5.5 | 2.4 | MIT | 5 years ago | |
| spatie/laravel-activitylog | 0.89 | Easily log user activities in your Laravel app and automatically track model events. Store everything in the activity_log table, then retrieve and query activities with the Activity model and a fluent API. | 5,913 | 5,990 | 750 | 5M | 0 | 70.7 | 48.2 | MIT | 3 days ago | |
| spatie/laravel-settings | 0.89 | Store strongly typed application settings in Laravel using a database, Redis, or another repository. Define each settings group as a PHP class with typed properties, inject it anywhere via Laravel's container, update values, and persist them with a single save() call. | 1,522 | 1,529 | 140 | 1M | 0 | 42.1 | 46.1 | MIT | 5 days ago | |
| spatie/laravel-model-states | 0.88 | Add state-machine behaviour to Eloquent models: each state is its own class, with serialization handled automatically and state transitions made easy. | 1,306 | 1,309 | 107 | 660K | 0 | 40.0 | 43.9 | MIT | 4 days ago | |
| spatie/laravel-model-flags | 0.88 | Add flags to Eloquent models without migrations using a simple trait. Flag models, check flags, and query flagged or not flagged records to build idempotent, restartable code like mail commands. | 454 | 455 | 22 | 62K | 0 | 15.7 | 31.9 | MIT | 6 months ago | |
| spatie/laravel-stats | 0.87 | Lightweight Laravel package for tracking application stats over time. Record increases and decreases, then query totals, increments, decrements, and differences grouped by day, week, or month for easy trend reporting. | 451 | 453 | 35 | 17K | 0 | 16.1 | 23.6 | MIT | 6 months ago | |
| spatie/laravel-model-info | 0.87 | 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 | 23 | 44K | 0 | 14.7 | 34.7 | MIT | 8 months ago | |
| orobogenius/laravel-model-statable | 0.86 | Add state and status management to any Eloquent model. Apply the trait to define allowed statuses, transition between them, query by state with scopes, and optionally track status history, all through a simple, expressive Laravel API. | 11 | — | 0 | — | 0 | 0.4 | — | MIT | 7 years ago | |
| spatie/laravel-model-meta | 0.85 | spatie/laravel-model-meta lets you attach flexible key-value metadata to any Eloquent model without schema changes. Store, update, and query extra attributes via a dedicated meta table, with automatic casting for strings, numbers, booleans, arrays, and more. | 182 | — | 23 | — | 0 | 8.1 | — | MIT | 8 months ago | |
| spatie/laravel-event-sourcing | 0.85 | Event sourcing for Laravel: set up aggregates, projectors, and reactors to store state changes as events. Ideal for audit trails, past-based decisions, and future reporting needs. | 919 | 921 | 176 | 273K | 0 | 38.5 | 40.0 | MIT | 1 week ago |
How can I help you explore Laravel packages today?