tiagomichaelsousa/laravelfilters
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.
Adopt when:
Look elsewhere when:
For executives: LaravelFilters is a small, actively maintained open-source library that standardizes how our Laravel application filters and searches data. Adopting it means we build list, search, and admin screens faster and more consistently, with less custom code to maintain. Critically, the latest release (v1.7.0) adds Laravel 11 support and Laravel 12.x compatibility — confirming the package keeps pace with the framework and will not hold back our planned Laravel upgrades or security patching. It is low-cost, low-risk, and reduces time-to-market for data-heavy features.
For engineering: This gives us a reusable, convention-based filtering layer on top of Eloquent instead of hand-rolling query-parameter handling per model. It keeps filter logic in PHP where the team can read, test, and extend it, and it's compatible with Laravel 11 and 12.x — so it fits our upgrade trajectory. Recommended scope: conventional filtering for CRUD/list endpoints. Not recommended for full-text search, faceting, or relevance ranking — for those we should still evaluate a dedicated search engine. Suggested next step: a short spike applying it to one representative resource to validate ergonomics, then codify a team convention if it fits.
How can I help you explore Laravel packages today?