The PagerfantaBundle is a Symfony bundle integrating Pagerfanta into an application.

This bundle is a continuation of the WhiteOctoberPagerfantaBundle.

The bundle includes:

  • A Twig function to render Pagerfanta objects with views and options
  • Pagerfanta view which supports Twig templates
  • Services to easily use Pagerfanta views anywhere in your application
  • Serialization of Pagerfanta\PagerfantaInterface objects using the Symfony Serializer component or the JMS Serializer
  • A flexible API to customize paginated routing
  • Default CSS for the Pagerfanta\View\DefaultView class
The documentation covers only the features added by this bundle, please review the Pagerfanta documentation for more information about how to use the library.