spatie/laravel-model-flags
A Laravel trait that adds flags to Eloquent models without migrations, plus scopes to query flagged models. Useful for tracking process state and building idempotent, restartable code like Artisan commands.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-visit | 0.92 | 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.2 | 10.9 | MIT | 7 months ago | |
| spatie/laravel-view-models | 0.92 | 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.9 | 27.6 | MIT | 8 months ago | |
| spatie/laravel-data | 0.92 | 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.4 | 63.7 | MIT | 1 week ago | |
| spatie/laravel-demo-mode | 0.91 | Protect work-in-progress Laravel apps from prying eyes with a demo-mode middleware. Redirects visitors (including unknown routes) to an “under construction” URL until they visit a configurable access URL (e.g. /demo) to unlock protected routes. | 294 | 299 | 25 | 440 | 0 | 4.4 | 4.1 | MIT | 3 years ago | |
| spatie/laravel-deleted-models | 0.91 | 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 | 14.0 | 25.0 | MIT | 8 months ago | |
| spatie/laravel-model-status | 0.90 | 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,056 | 1,062 | 83 | 114K | 0 | 23.0 | 29.6 | MIT | 8 months ago | |
| spatie/laravel-model-info | 0.89 | 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.8 | 34.7 | MIT | 8 months ago | |
| spatie/laravel-model-states | 0.89 | Add state behaviour to Eloquent models by combining the state pattern and state machines. Define each state as a class, cast it on your model, handle database serialization automatically, and transition between states easily. | 1,307 | 1,309 | 107 | 659K | 0 | 40.2 | 43.9 | MIT | 2 days ago | |
| spatie/laravel-model-cleanup | 0.89 | 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.2 | MIT | 5 years ago | |
| mydnic/volet | 0.88 | Volet is a lightweight Laravel package for feature flags. Define toggles in code or config, target users, teams, or environments, and enable or disable features at runtime with a clean API and Blade directives. | 418 | 418 | 37 | 4K | 0 | 19.9 | 15.8 | MIT | 2 months ago | |
| tax16/feature-flag | 0.87 | tax16/feature-flag is a lightweight Laravel package for defining and checking feature flags in your application. Toggle features on or off with simple configuration, keeping releases safer and functionality easy to manage. Ideal for gradual rollouts and environment-specific behavior. | 8 | 8 | 0 | 1 | 0 | 0.0 | 0.6 | MIT | 1 year ago | |
| aw-studio/laravel-bitflags | 0.87 | Laravel Bitflags stores multiple boolean flags in a single integer column. It provides an Eloquent cast for toggling, checking, and querying bitwise options without extra database columns. | 0 | — | 1 | — | 0 | 19.6 | — | — | 2 weeks ago | |
| juststeveking/laravel-feature-flags | 0.86 | A lightweight, database-backed feature flag package for Laravel. Define flags, enable or disable them from code or Artisan commands, and gate routes, Blade views, and application logic through a clean facade. Simple to install and easy to drop into existing Laravel projects. | 177 | 177 | 12 | 2K | 2 | 2.1 | 15.3 | MIT | 2 years ago | |
| spatie/laravel-permission | 0.86 | Manage user permissions and roles in a database with spatie/laravel-permission. Assign permissions directly or through roles, then check access using Laravel's built-in can() gate. Includes migrations, caching, Blade helpers, team support, and multiple guards. | 12,981 | 13,152 | 1,815 | 9M | 0 | 72.4 | 46.4 | MIT | 2 days ago | |
| ylsideas/feature-flags | 0.86 | An extendable Laravel package for managing feature flags in code, routes, Blade views, task scheduling, and validations—making continuous integration and deployment easier by safely guarding features behind toggles. | 626 | 628 | 38 | 27K | 0 | 22.9 | 24.7 | MIT | 5 months ago | |
| flagception/flagception | 0.86 | Flagception is a lightweight PHP feature toggle library. Plug in an activator (e.g., array- or constraint-based) and check flags via FeatureManager::isActive(). Minimal setup, flexible, and easy to extend with custom activators. | 14 | 15 | 3 | 100K | 2 | 1.5 | 52.7 | MIT | 1 year ago | |
| flagception/flagception-bundle | 0.86 | A Symfony bundle for feature flags and toggles. Define flags, activate them by context or constraints, and check them in controllers, services, Twig templates, and annotations. Integrates Flagception with Symfony configuration and dependency injection. | 30 | 33 | 6 | 85K | 4 | 13.0 | 53.0 | MIT | 5 months ago | |
| codinglabsau/laravel-feature-flags | 0.86 | A Laravel package for database-backed feature flags. Define flags, enable or disable them globally or for individual users, and check their status in controllers, Blade templates, and middleware through a simple, expressive API. | 38 | — | 0 | — | 0 | 16.2 | — | MIT | 3 months ago | |
| laravel/pennant | 0.85 | Laravel Pennant is a simple, lightweight feature flag library for Laravel. Define flags in a service provider and check them with Feature::active() to roll out features gradually to users, segments, or percentages of traffic. | 599 | 600 | 69 | 3M | 0 | 31.7 | 57.1 | MIT | 2 months ago | |
| ryangjchandler/laravel-feature-flags | 0.85 | A lightweight feature flag package for Laravel. Define features, check whether they are active from your code, and conditionally render UI with Blade directives. A simple API for toggling features and rolling out changes without redeploying. | 0 | 168 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?