Installation & Setup
To install the full package, run the following Composer command:
composer require pagerfanta/pagerfanta
Pagerfanta is also split into several smaller packages to allow more granular control over the features used and dependencies required. All packages are dependent on the pagerfanta/core
package which contains all of the interfaces for the Pagerfanta API, the Pagerfanta\Pagerfanta
class, and the PHP based views and templates.
The following first party packages are available to include additional functionality:
pagerfanta/doctrine-collections-adapter
: Provides a pagination adapter forDoctrine\Common\Collections\Collection
andDoctrine\Common\Collections\Selectable
implementationspagerfanta/doctrine-dbal-adapter
: Provides support for the Doctrine DBAL packagepagerfanta/doctrine-mongodb-odm-adapter
: Provides support for the Doctrine MongoDB ODM packagepagerfanta/doctrine-orm-adapter
: Provides support for the Doctrine ORM packagepagerfanta/doctrine-phpcr-odm-adapter
: Provides support for the Doctrine PHPCR ODM packagepagerfanta/elastica-adapter
: Provides support for Elastica (an ElasticSearch PHP client)pagerfanta/solarium-adapter
: Provides support for Solarium (a Solr search client)pagerfanta/twig
: Provides support for Twig