sofa/laravel-global-scope
Deprecated: Laravel 5.2+ changed global scopes, so this package is no longer valid. For Laravel 5.0–5.1, it provides an abstract Eloquent GlobalScope to define scopes via apply() and makes removing scopes from queries easier.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phplang/scope-exit | 0.83 | Tiny PHP helper that emulates “defer”/scope-exit behavior: register callbacks to run automatically when a block/function ends, ensuring reliable cleanup (close files, unlock mutexes, rollback temp state) even if exceptions occur. | 19 | 19 | 3 | 298K | 0 | 0.3 | 55.3 | NOASSERTION | — | |
| laracraft-tech/laravel-date-scopes | 0.82 | Add a DateScopes trait to Eloquent models to query records by common date ranges: today, last week, month-to-date, last year (with custom start), and more. Chain scopes with aggregates like sum/avg for fast stats-friendly queries. | 514 | 515 | 31 | 10K | 0 | 21.9 | 20.1 | MIT | 4 months ago | |
| curly-deni/laravel-scopes | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | 0.4 | MIT | 1 year ago | |
| n3xt0r/laravel-passport-modern-scopes | 0.82 | Attribute-based OAuth scope enforcement for Laravel Passport. Declare required scopes directly on controllers/actions via PHP 8 attributes, then enforce them with a single middleware. Keeps routes clean and auth rules close to the code they protect. | 0 | 0 | 1 | 672 | 0 | 14.2 | 43.6 | MIT | 4 months ago | |
| omaralalwi/laravel-time-craft | 0.81 | — | 13 | 13 | 3 | 477 | 0 | 20.4 | 24.9 | MIT | 3 weeks ago | |
| spatie/laravel-or-abort | 0.80 | Adds an OrAbort trait to Laravel models to abort with a chosen HTTP status when common calls fail (e.g., findOrAbort($id, 500) instead of returning null/false). Note: this package is no longer maintained. | 53 | 54 | 2 | 9 | 0 | 0.8 | 0.7 | MIT | 11 years ago | |
| bartlomiejbeta/api-scope-bundle | 0.80 | — | 0 | 0 | 1 | 0 | 0 | 2.8 | — | — | 7 years ago | |
| humbug/php-scoper | 0.80 | PHP-Scoper prefixes your project and its dependencies into a unique namespace to avoid conflicts, especially when building PHARs that bundle vendor code and run alongside other PHP projects with overlapping packages or versions. | 806 | 808 | 77 | 121K | 22 | 36.7 | 54.9 | MIT | 5 months ago | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.80 | — | 0 | 0 | — | 0 | — | 0.3 | — | — | — | |
| dovstone/keyval-db | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 4 years ago | |
| mpyw/laravel-local-class-scope | 0.80 | — | 24 | 24 | 4 | 4K | 0 | 20.2 | 35.0 | MIT | 1 month ago | |
| lacodix/laravel-scoped-mail-config | 0.79 | Send emails with dynamic, per-scope mailer settings in Laravel. Provide SMTP/from config via any model or class implementing HasMailConfig—ideal for multi-tenancy (e.g., Spatie) or user/team-specific mail configurations. | 1 | 1 | 0 | 246 | 0 | 19.4 | 33.3 | MIT | 1 month ago | |
| lacodix/laravel-global-or-scope | 0.76 | Add multiple Eloquent global scopes that are grouped and applied with OR logic instead of the default AND. Use a simple trait to register OR-scopes and optionally disable some or all of them per query with withoutGlobalOrScopes(). | 5 | 5 | 1 | 113 | 0 | 20.4 | 20.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?