hibit-dev/criteria
A Laravel package for moving Eloquent query logic into reusable criteria classes. Compose filters and other query constraints cleanly, keeping models and controllers lean and making complex database queries easier to organize and reuse.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alex-storozhenko/eloquent-criteria | 0.84 | A lightweight Laravel package for applying reusable criteria to Eloquent queries. Encapsulate filters and query logic in dedicated criteria classes, then compose them on models or repositories for cleaner, testable, and more maintainable database code. | 1 | — | 0 | — | 0 | 0.2 | — | MIT | 3 years ago | |
| complex-heart/criteria | 0.79 | Bring the Criteria pattern to Laravel Eloquent with complex-heart/criteria. Encapsulate query constraints in reusable, composable classes so filtering stays clean, testable, and out of your models. Ideal for flexible repository queries and complex search logic. | 5 | 5 | 0 | 215 | 1 | 15.7 | 24.6 | MIT | 2 months ago | |
| nilportugues/eloquent-repository | 0.79 | A Laravel package that adds a repository layer for Eloquent models, with reusable query criteria, caching support, and cleaner separation between persistence and application logic. | 17 | — | 1 | — | 3 | 0.8 | 0.4 | MIT | 10 years ago | |
| maartenpaauw/laravel-specification-pattern | 0.79 | A Laravel package for the specification pattern, letting you encapsulate business rules into reusable, composable specifications and apply them to Eloquent queries or collections for cleaner, testable domain logic. | 15 | — | 1 | — | 0 | 8.7 | — | MIT | 7 months ago | |
| eloquent-filter/filter | 0.78 | Eloquent Filter adds request-driven filtering to Laravel Eloquent models. Define allowed filters and custom filter classes, then filter queries through query-string parameters, keeping APIs, admin panels, and search endpoints clean, composable, and easy to maintain. | 445 | 447 | 41 | 25 | 7 | 12.3 | 4.3 | MIT | 8 months ago | |
| emmadonjo/laravel-filter | 0.78 | A lightweight Laravel package for adding clean, reusable filters to Eloquent queries. Define composable filter classes once, apply them from request parameters or manually, and keep controllers slim, query logic organized, and filtering behavior easy to test and extend. | 2 | — | 0 | — | 0 | 5.7 | — | MIT | 8 months ago | |
| jetcod/eloquent-repository | 0.77 | jetcod/eloquent-repository brings a clean repository pattern to Laravel Eloquent. Organize complex queries into reusable, testable classes, keep models slim, and streamline data access across your app. A practical foundation for cleaner controllers, services, and maintainable Laravel projects. | 3 | — | 0 | — | 0 | 15.1 | — | MIT | 3 months ago | |
| laraditz/saring | 0.77 | Saring is a simple Eloquent model filtering package for Laravel and Lumen. Add the Filterable trait to models, create per-model filter classes (e.g., UserFilter), optionally whitelist filterable fields, and call Model::filter($request->all()). | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| laravellegends/eloquent-filter | 0.77 | — | 39 | 39 | 8 | 770 | 0 | 1.3 | 18.0 | MIT | 4 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.77 | — | 525 | 526 | 42 | 3K | 0 | 4.2 | 10.9 | MIT | 7 years ago | |
| ndnam90/laravel-filterable | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 0.6 | — | — | 8 years ago | |
| laraditz/model-filter | 0.77 | Flexible Eloquent model filtering for Laravel with operator support (eq, gte, etc.), AND/OR grouping, and relationship filters via dot notation. Add a Filterable trait and allowlist fields, optionally create filter classes for custom logic, and filter using request params under filters[]. | 0 | 0 | 0 | 23 | 0 | 0.0 | 19.1 | MIT | — | |
| lacodix/laravel-model-filter | 0.77 | A Laravel package for filtering, searching, and sorting Eloquent models using query strings. It includes built-in filter types for strings, dates, numbers, and enums, plus custom filters for complex database logic. | 176 | 176 | 14 | 4K | 1 | 31.8 | 22.4 | MIT | 1 month ago | |
| black/common | 0.77 | Common utilities for Black projects: an abstract Doctrine Manager helper with convenience methods plus simple specification classes (and/or/not). Install via Composer and reuse across apps needing lightweight Doctrine-oriented shared code. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| laravilt/query-builder | 0.77 | laravilt/query-builder is a Laravel package that provides a fluent, chainable query builder for assembling database queries in PHP. It helps you compose complex filters, conditions, and clauses while keeping query logic readable, reusable, and maintainable in your application. | 0 | — | 2 | — | 0 | 17.8 | — | MIT | 1 month ago |
|
| czim/laravel-repository | 0.77 | — | 52 | 54 | 21 | 1K | 2 | 21.7 | 22.6 | MIT | 2 weeks ago | |
| barryvdh/laravel-ide-helper | 0.77 | Generate IDE helper files for Laravel that provide accurate autocompletion and PHPDocs directly from your project source. Supports facades, Eloquent models, fluent methods, factory builders, and PhpStorm container meta, keeping IDE hints up to date. | 14,972 | 15,232 | 1,194 | 5M | 159 | 89.1 | 68.8 | MIT | 3 days ago | |
| gurgentil/eloquent-filters | 0.77 | gurgentil/eloquent-filters adds clean, reusable filtering to Laravel Eloquent models. Define filter classes for each parameter and let the package whitelist and apply request-based query filters, keeping controllers tidy and searches safe, flexible, and easy to maintain. | 15 | — | 0 | — | 0 | 0.1 | — | MIT | 5 years ago | |
| tiagomichaelsousa/laravelfilters | 0.77 | Laravel Filters lets you filter Eloquent models directly from query strings. Define reusable filter classes, attach them to models with a simple trait, and compose filters per request. Includes artisan generators for creating filters quickly, keeping controllers clean and queries readable. | 62 | — | 9 | — | 0 | 20.7 | — | NOASSERTION | 1 week ago | |
| rikbruil/specification | 0.77 | Implements the Specification pattern for Laravel, letting you encapsulate query constraints and business rules as reusable, composable classes. Combine specifications with and/or/not operators and apply them directly to Eloquent queries for cleaner, testable filtering logic. | 18 | — | 3 | — | 0 | 0.2 | — | MIT | — |
|
How can I help you explore Laravel packages today?