lacodix/laravel-global-or-scope
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().
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sofa/laravel-global-scope | 0.83 | 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. | 27 | 31 | 3 | 83 | 0 | 0.1 | 5.8 | MIT | — | |
| mpyw/laravel-local-class-scope | 0.82 | — | 24 | 24 | 4 | 4K | 0 | 20.2 | 35.0 | MIT | 1 month 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 | 668 | 0 | 15.4 | 44.0 | MIT | 3 months ago | |
| omaralalwi/laravel-time-craft | 0.81 | — | 13 | 13 | 3 | 290 | 0 | 21.5 | 21.7 | MIT | 4 days ago | |
| n3xt0r/laravel-passport-authorization-core | 0.81 | Core components for building OAuth2 authorization flows with Laravel Passport. Provides reusable helpers and abstractions to standardize consent/approval handling and authorization logic, making it easier to implement custom Passport authorization endpoints and UI. | 1 | 1 | 1 | 369 | 0 | 14.8 | 35.2 | MIT | 4 months ago | |
| curly-deni/laravel-scopes | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | 0.4 | MIT | 1 year ago | |
| bartlomiejbeta/api-scope-bundle | 0.80 | — | 0 | 0 | 1 | 0 | 0 | 2.8 | — | — | 7 years ago | |
| lacodix/laravel-scoped-mail-config | 0.80 | 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 | 273 | 0 | 21.4 | 34.6 | MIT | 1 month ago | |
| dciss/poo-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| ctrl-f5/ctrl-common | 0.79 | Shared utilities and helpers for the Ctrl-F5 ecosystem: common PHP/Laravel components, small abstractions, and reusable support code used across multiple packages and apps. Intended as a lightweight foundation dependency. | 0 | 0 | 0 | 2 | 0 | 0.0 | 6.6 | — | — | |
| laracraft-tech/laravel-date-scopes | 0.79 | 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 | 32 | 10K | 0 | 22.5 | 20.4 | MIT | 3 months ago | |
| spatie/laravel-or-abort | 0.71 | 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 | 0 | 0 | 0.8 | — | MIT | 11 years ago | |
| orchestra/sidekick | 0.71 | Orchestra Sidekick is a lightweight toolkit of utilities and helper classes for Laravel applications and packages. Provides common convenience functions to speed up development and reduce boilerplate, maintained by the Orchestral ecosystem. | 12 | 13 | 1 | 2M | 0 | 18.8 | 60.0 | MIT | 6 months ago | |
| reliese/laravel | 0.70 | Generate Laravel Eloquent models from your database schema. Reliese inspects tables, columns, and foreign keys to scaffold typed model properties and relationships via an Artisan command, helping speed up development (best used in local/dev environments). | 1,709 | 1,719 | 321 | 94K | 66 | 45.6 | 49.7 | MIT | 1 year ago | |
| orchestra/database | 0.68 | Orchestra Database extends Laravel’s database layer for Orchestra Platform, providing helpers and integration for connections, schema, migrations, and query features. Useful for building and maintaining app data structures consistently across Orchestra-based projects. | 19 | 20 | 13 | 9K | 0 | 9.6 | 36.9 | — | 5 years ago | |
| laravel-doctrine/orm | 0.68 | — | 840 | 846 | 181 | 64K | 6 | 34.9 | 31.4 | MIT | 3 months ago |
How can I help you explore Laravel packages today?