dcblogdev/laravel-filters
dcblogdev/laravel-filters provides a lightweight way to filter Laravel Eloquent queries from request parameters. Define allowed filters, apply them through a reusable trait, and keep controllers clean with composable, testable filtering logic.
dcblogdev/laravel-filters is a narrow, single-purpose utility for turning request query strings into Eloquent filters. It is a candidate to replace hand-rolled if ($request->has('status')) blocks that accumulate in controllers and repositories — a small but recurring tax on every feature that adds filterable attributes.league/commonmark, PHPUnit, psy/psysh) plus the Laravel 13 compatibility commit. That signals a low-churn, low-drag dependency — cheap to carry, cheap to drop.Adopt when:
where-style filters.Look elsewhere when:
composer.json before committing, and note the v2 line implies you are already on a recent major.Caveat on evidence quality: this assessment rests on the v2.0.3 notes only — no download counts, issue throughput, or security advisory history was supplied. Treat adoption as a low-risk trial (one or two endpoints), not a standards decision, until you have reviewed the package source and its open-issue backlog yourself.
For executives (one line): A small, free Laravel component that standardizes how our list and report screens filter data — it now supports Laravel 13, so adopting it reduces rework in our next framework upgrade and trims repetitive code in every new admin screen we ship.
For engineering leads:
How can I help you explore Laravel packages today?