javihgil/doctrine-pagination-bundle
A Symfony bundle that adds simple pagination for Doctrine queries, helping you split ORM and DBAL results into pages with a reusable paginator service. Ideal for building paged listings, search results, and admin grids without writing custom limit/offset logic.
Doctrine\ORM\Tools\Pagination\Paginator in a service/controller helper) is a few hundred lines at most. The replacement cost is measured in hours, which makes any dependency-management or upgrade cost hard to justify.-bundle, which is Symfony terminology; Laravel ships packages with service providers, and its default ORM is Eloquent, which already provides paginate() and cursorPaginate(). This is a fit problem, not a quality problem — it should be screened out early in any Laravel evaluation.Adopt only if all of the following hold:
Look elsewhere if:
COUNT(*) degrades badly at scale.Paginator or Pagerfanta, both of which have real user bases and active maintenance.To executives (recommendation: do not adopt): This is a small, single-purpose utility for paginating database queries, published by one author with no community around it and no updates since December 2022. It has zero known users. The capability it provides is small enough that our engineers can implement it in hours, and owning a dormant third-party dependency creates ongoing upgrade and security-review overhead that exceeds the value delivered. Recommendation: skip it; the equivalent functionality is either built into our stack or trivially built in-house.
To engineering (technical summary): javihgil/doctrine-pagination-bundle is a Symfony bundle wrapping Doctrine ORM's Paginator for paginated DQL. It is not a Laravel package — Laravel's Eloquent already provides paginate()/cursorPaginate(), and Doctrine in Laravel would be an unusual, self-imposed integration burden. Signals: 0 stars, 0 dependents, last release 2022-12-20, no compatibility statement for current Symfony/PHP. If we're on Symfony + Doctrine and need this, read it as a reference and implement internally, or use Doctrine's Paginator/Pagerfanta directly. Do not add it to a Laravel codebase. Estimated effort to replicate the useful behavior: under a day.
How can I help you explore Laravel packages today?