KnpPaginatorBundle

The Symfony KnpPaginatorBundle sorts and paginates results while supporting SEO-friendly URLs.

github.com/KnpLabs/KnpPaginatorBundle
KnpPaginatorBundle homepage screenshot

About KnpPaginatorBundle

KnpPaginatorBundle is a pagination bundle for Symfony applications. It sorts and paginates query results, and the repository describes it as SEO-friendly. It is based on the Knp Pager component, and the bundle is responsible for generating the pagination view, while the view itself handles presentation.

The bundle can be installed with Composer and configured for default query parameter names, page range, items per page, and out-of-range page handling. Its requirements include Knp Pager 4.4 or later, Symfony 6.4 or later on the master branch, and Twig 3.0 or later if Twig templates are used. The repository notes that older tagged versions are available for ODM MongoDB and ORM 2.0 queries.

Key features

  • Sorting and pagination of query results with configurable parameter names
  • Custom filtering and sorting based on request parameters
  • Configurable page range and default number of items per page
  • Provided Twig templates for sliding pagination, sort links, filters and rel links
  • Customizable pagination view templates and event subscribers
  • Composer installation without initializing specific adapters
Best for: Symfony developers who need sortable, paginated lists in a Symfony application.
Good for
  • Does not require initializing specific adapters.
  • Separates pagination logic from view rendering.
  • Pagination view and event subscribers can be customized.
Watch out for
  • The master branch requires Symfony 6.4 or later.
  • Knp components must be kept in sync with this bundle.
  • Using multiple paginators requires setting an alias to avoid conflicting parameters.

KnpPaginatorBundle at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

KnpPaginatorBundle alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in SEO & Web Analytics

Well-known listings from the same topic.

All 211

KnpPaginatorBundle FAQ

What does the bundle require to run?
It requires Knp Pager component 4.4 or later and Symfony 6.4 or later for the master branch. Twig 3.0 or later is needed when using the Twig templating engine, and the Translation component is needed to use the provided templates.
How is the bundle installed?
It is installed with Composer by running composer require knplabs/knp-paginator-bundle. If Symfony Flex is not used, the bundle must be enabled manually in the application kernel.
How can multiple paginators be used on one page?
Each paginator needs an alias so that its parameters do not conflict with those of the others.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing