Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doctrine Filter Paginator Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. Verclam/doctrine-filter-paginator is a narrow integration package: it connects Doctrine ORM's filter system to a paginator. That means it only fits Laravel codebases that have already adopted Doctrine (laravel-doctrine/orm or equivalent) instead of Eloquent. For Eloquent-first applications this is not a fit regardless of quality. For Doctrine-based Laravel apps, it targets a real gap — filter-aware pagination is one of the recurring sharp edges in Doctrine, so a focused package addresses genuine friction.

Integration feasibility. Expected to be a standard Composer package with Laravel package discovery. However, the v0.0.1 release notes contain no substantive information — only a link to the commit history. There is no documented install path, no usage example, no configuration reference, and no stated compatibility matrix. Integration effort therefore cannot be estimated from the release itself; it must be assessed by inspecting composer.json, the service provider, and the public API surface directly.

Technical risk. High for a 0.0.1. The 0.x version line carries no API stability guarantee under semver, and a single-maintainer package at first release has minimal track record. The most credible technical risk is not the package's structure but its problem domain: combining filters with pagination routinely breaks total-count calculation (DISTINCT, joins, grouped queries), and filter state management is a common source of cross-request leakage. Without a visible test suite or CI matrix, those failure modes are unverified assumptions rather than known-good behavior.

Key questions to resolve before adoption.

  • Which Laravel and PHP versions are supported, and are those constraints tested in CI?
  • Does it depend on laravel-doctrine/orm, or on bare doctrine/orm?
  • Does it emit Laravel's LengthAwarePaginator contract, or Doctrine's Paginator?
  • Are filters request-scoped, explicitly enabled per query, or globally registered?
  • How is the total count computed when filters modify the query shape?
  • What is the license, and is there any stated support or security policy?
  • Is there a test suite, and does it cover filter/paginator interaction?

Integration Approach

Stack fit. Adoption should be gated on an existing Doctrine investment. If the application is Eloquent-based, close the evaluation here. If it already runs Doctrine under Laravel, this package is a plausible candidate for read-heavy list screens.

Migration path. Start with a single, low-consequence surface — an internal admin listing or a reporting view — rather than any customer-facing or transactional path. The goal of the pilot is to confirm count correctness under stacked filters, not to validate the developer experience.

Compatibility. Pin the exact 0.0.1 version in composer.json rather than using a caret constraint; 0.x minor bumps are permitted to break. Verify PHP and Laravel constraints against the application's runtime, and check for conflicts with the existing Doctrine bridge version. Confirm the service provider is discovered or explicitly registered.

Sequencing.

  1. Inspect composer.json, source, and tests before installing anything.
  2. Install in a branch and prototype one filtered, paginated admin query.
  3. Wrap the package behind an internal pagination interface so it is replaceable without touching call sites.
  4. Add contract tests covering multi-filter combinations, count accuracy, and page-boundary behavior.
  5. Promote to a single production module.
  6. Re-evaluate at a documented v0.1+ or once tests and usage docs are publicly visible.

Operational Impact

Maintenance. The code footprint is likely small, so day-to-day maintenance is low. The real cost is concentration risk: a single maintainer at v0.0.1 means abandonment is a realistic scenario. Budget for the possibility of vendoring or forking, and keep the internal wrapper boundary clean so that fork is cheap.

Support. No community, documentation, or support channel is evident from the release. Support effectively means reading the source and filing GitHub issues. Do not plan on vendor responsiveness for incident timelines.

Scaling. The scaling hotspot is the count query, not the page fetch. Filters that introduce joins or DISTINCT can turn a cheap count into a table scan, and behavior will only surface at production data volumes. Load-test filtered pagination against representative table sizes before committing.

Failure modes to monitor.

  • Incorrect total counts or page counts under combined filters.
  • Filter state persisting across requests or leaking between queries in long-running workers.
  • Silent behavioral change on a 0.x minor upgrade.
  • Incompatibility with a Doctrine bridge or Laravel upgrade.
  • Abandonment — no commits, no security response.

Ramp-up. Modest for a developer already comfortable with Doctrine's filter API — likely under a day. Expect most of that time to go into reading source rather than documentation, since none is provided. Developers from an Eloquent-only background should not be assigned this integration.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator