mpyw/laravel-local-class-scope
A tiny Laravel macro that lets you reuse global scope classes as local query scopes. Call User::scoped(ActiveScope::class) or pass constructor arguments, chain scopes, and optionally wrap them in model methods or traits. Includes a PHPStan extension for static analysis.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sbamtr/laravel-query-enrich | 0.87 | A Laravel package that adds expressive query enrichment helpers, letting you append computed values, relationships, and metadata to Eloquent results cleanly while reducing boilerplate and keeping data shaping close to your queries. | 142 | 142 | 6 | 878 | 1 | 12.9 | 13.0 | MIT | 5 months ago | |
| subscope-ai/laravel-keenable | 0.87 | Subscope AI's Laravel Keenable package integrates Keenable with Laravel for simple feature flag management. Configure the client, check flags through a facade, and enable or roll out features per user, environment, or request with minimal setup and Blade-friendly helpers. | 4 | 1 | 0 | 11 | 0 | 19.4 | 8.2 | MIT | 2 weeks ago | |
| omaralalwi/laravel-time-craft | 0.87 | Laravel Time Craft adds Eloquent date scopes (today, yesterday, this week, last N days) plus readable date accessors and formatting helpers to any model, with customizable date fields and timezone-aware querying. | 13 | 12 | 3 | 483 | 0 | 15.6 | 24.7 | MIT | 3 months ago | |
| we-are-neopix/laravel-model-translation | 0.86 | Add multi-language attributes to Eloquent models with we-are-neopix/laravel-model-translation. Store per-locale values, fall back to defaults, and retrieve translations via simple accessors—no extra tables or schema changes required. | 40 | 40 | 4 | 8 | 0 | 0.3 | 1.1 | MIT | — | |
| dave-liddament/php-language-extensions | 0.86 | PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. | 196 | 196 | 5 | 27K | 3 | 3.1 | 30.6 | MIT | 11 months ago | |
| pricecurrent/laravel-eloquent-filters | 0.86 | Laravel Eloquent Filters adds reusable, request-driven filters to Eloquent queries. Define filter classes, map query-string parameters, and compose clean, testable filtering logic for search pages, APIs, and admin lists without bloating controllers or models. | 176 | — | 14 | — | 0 | 1.7 | — | MIT | 1 year ago | |
| nunomaduro/yorn | 0.86 | Yorn is a small, focused Laravel package from Nuno Maduro (Pest, Larastan). Install it with Composer and it slots neatly into an existing app, with a clean API, no heavy configuration, and the framework-native feel his packages are known for. | 144 | 146 | 6 | 0 | 2 | 1.3 | — | MIT | — | |
| anourvalar/eloquent-serialize | 0.86 | Serialize and restore Eloquent query builders with ease. Capture chained queries including eager loading, where clauses, and limits, then unserialize later to run them. Supports Laravel 6 through 12. | 117 | 116 | 14 | 6M | 0 | 28.6 | 63.6 | MIT | 1 month ago | |
| maxis/laravel-eloquent-guard | 0.86 | Adds a lightweight guard layer to Laravel Eloquent models, helping protect sensitive attributes and control which fields can be mass-assigned or updated. Simple to configure and drop into existing models for safer, more predictable data handling. | 21 | 22 | 0 | 0 | 0 | 0.1 | — | MIT | — | |
| jobmetric/laravel-language | 0.86 | jobmetric/laravel-language is a Laravel package for managing application languages and localization. It offers language CRUD, activation and default-language handling, plus helpers for multilingual Eloquent models, locale switching, and translation storage in Laravel apps. | 6 | — | 0 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| bjerke/api-query-builder | 0.86 | Simplify API query handling in Laravel with a fluent query builder that turns request parameters into filtered, sorted, and paginated Eloquent queries. Reduce boilerplate and keep filtering logic consistent and reusable across your endpoints. | 26 | 26 | 2 | 152 | 1 | 0.3 | 11.3 | MIT | 3 years ago | |
| leocarmo/laravel-eloquent-model-filter | 0.86 | A Laravel package for adding declarative filters to Eloquent models. Define allowed filters once, apply them from request query strings, and keep complex query logic reusable, readable, and easy to test across your application. | 11 | 11 | 2 | 0 | 0 | 0.1 | — | — | 8 years ago | |
| exyplis/eloquent-builder-macros | 0.86 | This Laravel package adds reusable macros to Eloquent’s query builder, making common filtering, ordering, and query-building tasks shorter and more expressive. Keep models and repositories cleaner by replacing repetitive query code with handy, chainable macros. | 0 | 29 | — | 0 | — | 0.0 | — | — | — | |
| nyrodev/utility-bundle | 0.86 | nyrodev/utility-bundle is a PHP utility bundle offering reusable helpers, services, and Twig extensions for common development tasks, helping streamline configuration and reduce boilerplate across projects. | 0 | 1 | 2 | 4 | 0 | 0.1 | 9.7 | MIT | — | |
| eghamat24/database-repository | 0.86 | A Laravel package that adds a database repository layer for wrapping Eloquent queries in reusable repository classes. It helps keep models and controllers clean, reduces duplicated query logic, and makes data access more organized, consistent, and testable for common database operations. | 19 | — | 9 | — | 4 | 1.7 | 0.8 | — | 1 year ago | |
| event4u/data-helpers | 0.86 | event4u/data-helpers offers practical PHP and Laravel utilities for working with structured data, including helpers for arrays, DTOs, validation, and transformations, helping reduce boilerplate and keep application code cleaner, safer, and more consistent. | 14 | 14 | 1 | 3K | 0 | 19.7 | 36.7 | MIT | 1 week ago | |
| nazarii-kretovych/laravel-api-model-driver | 0.86 | An Eloquent driver for Laravel that backs models with external APIs instead of a database, so you can query remote HTTP resources while keeping familiar models, relationships, casts, and conventions, without rewriting your data layer. | 34 | — | 13 | — | 0 | 0.7 | — | MIT | 6 years ago | |
| nunomaduro/laravel-any | 0.86 | Nuno Maduro's tiny Laravel helper that resolves any class through the service container, automatically injecting its dependencies so you can instantiate objects with zero boilerplate. | 38 | 38 | 2 | 1 | 0 | 0.3 | 0.2 | MIT | — | |
| tpetry/laravel-postgresql-enhanced | 0.86 | Laravel supports only the lowest common denominator of databases. This package unlocks PostgreSQL's full power: extensions, triggers, views, advanced indexes, zero-downtime migrations, and more. | 1,044 | 1,044 | 47 | 231K | 9 | 9.2 | 34.7 | MIT | — | |
| dragon-code/extended-routes | 0.85 | A small Laravel package that extends the native router with extra helper methods and macros, letting you declare routes more concisely while staying fully compatible with standard Laravel routing, middleware, and route caching. | 16 | 17 | 1 | 27 | 0 | 0.2 | 4.0 | MIT | 2 years ago |
How can I help you explore Laravel packages today?