l3aro/pipeline-query-collection
A Laravel package for building Eloquent queries with pipelines: chain reusable filter classes into a clean, testable sequence, so complex query logic stays out of controllers and models and remains easy to compose, reuse, and maintain.
$request->has('status') filter chains and hand-rolled query builders into composable, testable pipeline collections. The decision this supports is whether to keep bespoke filtering logic in-house or standardize on a package for list endpoints, admin tables, and reporting screens.Adopt when:
Look elsewhere when:
For executives: This is a small, low-risk dependency that removes repetitive custom code from our data-heavy screens (admin tables, search, reporting). The new v1.6.0 release adds Laravel 13 compatibility, so it will not hold back our framework upgrade path — the main reason packages like this get rejected later. Cost of adoption is contained to one or two features, with no infrastructure or database changes.
For engineering: v1.6.0 is a compatibility release — it extends support to Laravel 13.x with no reported breaking changes or API changes. That means we can trial it now on the current framework version and carry it forward through the upgrade without a rewrite. It gives us a declarative pipeline for request-driven filtering and sorting, replacing per-endpoint conditional query logic with reusable, unit-testable collections. Recommended next step: pilot it on a single list endpoint, confirm the ergonomics match our conventions, and only then widen usage. Note for risk tracking: single-maintainer project, so we should keep our usage shallow and well-tested rather than coupling core domain queries to it.
How can I help you explore Laravel packages today?