Installation & Setup
To install this bundle, run the following Composer command:
composer require babdev/pagerfanta-bundle
The bundle only installs the
pagerfanta/core
package which provides the core Pagerfanta API. Please see the Pagerfanta installation documentation for information on how to install the adapters your project will need.Register The Bundle
For an application using Symfony Flex the bundle should be automatically registered, but if not you will need to add it to your config/bundles.php
file.
<?php
return [
// ...
BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true],
];