nitra/pagerfanta-bundle
Symfony bundle integrating Pagerfanta pagination, offering flexible pagers, adapters, and Twig helpers for paginated lists. Easily paginate Doctrine queries, arrays, and custom data sources with configurable templates and straightforward Symfony integration.
LengthAwarePaginator, CursorPaginator, and simplePaginate out of the box; the framework-agnostic core (pagerfanta/pagerfanta) is a separate, better-maintained dependency. Buying/integrating this bundle means adopting glue code for a framework we don't run.Consider it only when all of the following hold:
Look elsewhere — immediately — when:
pagerfanta/pagerfanta directly and write ~20 lines of adapter code rather than inheriting an unmaintained bundle.For executives: This package is a small integration shim for Symfony2, a PHP framework we do not use, and it has no community traction (no stars, no dependents) on a framework version that reached end of life in 2018. Adopting it would create a maintenance and security liability with no offsetting product value. Recommendation: do not adopt; no roadmap or budget impact. Pagination, the capability it nominally provides, is already included in Laravel at no cost.
For engineering: Treat this as out of scope. It is a Symfony2 bundle — no service provider, no Laravel config, no relevance to our stack. If you need Pagerfanta-style pagination semantics, depend on pagerfanta/pagerfanta directly behind our own interface, or use Laravel's CursorPaginator for high-volume endpoints and LengthAwarePaginator for admin tables. If you encounter this in an inherited Symfony2 codebase, flag it in the dependency audit and pair its removal with the framework upgrade rather than investing in it. For new pagination work, the maintained successor is BabDev Pagerfanta.
Bottom line: Correct the catalogue classification (Symfony2, not Laravel), close the evaluation, and spend the saved effort on the pagination UX decision — cursor vs. offset — which is where the real product value sits.
How can I help you explore Laravel packages today?