PHPackages                             tangoman/pagination-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. tangoman/pagination-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

tangoman/pagination-bundle
==========================

Symfony Pagination Twig Extension Bundle

1.4.2(8y ago)21711[1 issues](https://github.com/TangoMan75/PaginationBundle/issues)HTMLPHP &gt;=5.3.3

Since Apr 5Pushed 8y agoCompare

[ Source](https://github.com/TangoMan75/PaginationBundle)[ Packagist](https://packagist.org/packages/tangoman/pagination-bundle)[ RSS](/packages/tangoman-pagination-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (2)Versions (12)Used By (0)

Usage
=====

[](#usage)

This Bundle allows easy and optimal use of the Doctrine\\Paginator method to paginate your requests and make results optimized for SEO. The pagination always use the `GET $page` to control on wich page you are, so you don't have to worry about the route. Two different responsive templates are available, `default.thml.twig` and `smart.html.twig`.

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require tangoman/pagination-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
