verclam/doctrine-filter-paginator
A Laravel package that brings filtering and pagination to Doctrine queries. Build dynamic filters from request parameters, chain conditions onto query builders, and paginate results through a clean, reusable API for Doctrine-backed applications.
verclam/doctrine-filter-paginator targets a recurring, low-differentiation problem: taking arbitrary request filters, applying them to a Doctrine query, and returning a paginated result set. That is typically 1–3 sprints of bespoke code per surface if built in-house. This package is a candidate to collapse that to a dependency.laravel-doctrine, a legacy/DDD-oriented domain layer, or a migration off a Symfony service. Adopting it is therefore a consequence of an architecture call more than a driver of one.0.0.x explicitly offers no compatibility guarantee. It belongs in a spike or an internal tool, not in a committed Q-plan for a revenue-bearing path.Consider it when:
doctrine/dbal for schema introspection) and you have read endpoints that need filter parsing plus pagination.0.0.x bump costs you an afternoon, not an incident.Look elsewhere when:
Before adopting, get answers to: supported Laravel and Doctrine versions, whether filters are whitelisted (arbitrary user-supplied filter keys mapped into DQL is an injection and data-exposure surface), test coverage, and maintainer commitment beyond the initial tag.
For executives — one paragraph. This is a small, free, open-source component that removes repetitive plumbing from a specific class of feature: filtered, paginated lists of data. It is worth a short, time-boxed evaluation because the alternative is engineers hand-building the same thing repeatedly. It is not worth putting on a delivery commitment yet — it is a first public release (v0.0.1) from a single maintainer, with no stability guarantees and no track record. Recommendation: fund a one-to-two-day spike against a real internal screen, not a production rollout.
For engineering — the technical case. It bundles two things teams keep rewriting: a filter layer that maps request parameters onto a Doctrine query, and a paginator over the resulting query. If we already run Doctrine in this codebase, that is directly reusable. Two conditions on adoption: pin the exact version and put it behind our own narrow interface so a 0.0.x break, or a fork, is a contained change; and confirm the filter layer whitelists allowed keys rather than passing user input into the query builder. Keep it out of authorization-scoped queries until we have read the source.
For the sponsor signing off on the dependency. The cost of adopting is near zero; the cost of depending on it is a low, ongoing maintenance tax we may eventually pay by vendoring the code. The asymmetry favors trying it in a non-critical path and revisiting at 1.0 or after six months of visible maintenance.
Assessment basis: v0.0.1 release only. The published notes contain no feature summary, breaking-change detail, or deprecation notice — just a changelog link — so capability claims above are inferred from the package name and problem domain, not from released documentation. Confidence: low. Revisit when the project publishes substantive release notes, a README with supported-version matrix, or reaches a 1.0 tag.
How can I help you explore Laravel packages today?