Overview of PagerfantaBundle features
4.xPagerfantaBundle integrates the Pagerfanta library into Symfony applications. It provides several key features to handle pagination in a Symfony-native way:
- Twig Integration: A Twig function to render Pagerfanta objects using specific views and options.
- Pagerfanta Views: Support for Twig templates within Pagerfanta views.
- Pagination Services: Services to utilize Pagerfanta views throughout your application.
- Serialization: Support for serializing
Pagerfanta\PagerfantaInterfaceobjects using either the Symfony Serializer component or the JMS Serializer. - Routing Customization: A flexible API for customizing how paginated routes are handled.
- Default Styling: Includes default CSS for the
Pagerfanta\View\DefaultViewclass.