PHPackages                             pkshetlie/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. pkshetlie/pagination-bundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

pkshetlie/pagination-bundle
===========================

Easy way to make html table with paginations

3.0.1(2mo ago)2535↓100%GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Mar 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/pkshetlie/pagination-bundle)[ Packagist](https://packagist.org/packages/pkshetlie/pagination-bundle)[ Docs](https://github.com/pkshetlie/pagination-bundle)[ RSS](/packages/pkshetlie-pagination-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (47)Used By (0)

Installation
------------

[](#installation)

`composer require pkshetlie/pagination-bundle `

add to AppKernel.php

```
[
       ...
       new Pkshetlie\PaginationBundle\PaginationBundle(),
       ...
]
```

Add to config.yml

```
imports:
  ...
  - { resource: "@PaginationBundle/Resources/config/services.yml" }
```

installation is done.

Exemple Usage
-------------

[](#exemple-usage)

in some Dummy controller

```
class DummyController extends Controller{

   public function indexAction(Request $request){
       $qb = $this->getDoctrine()->getReposiitory('DummyBundle:DummyEntity')->createQueryBuilder('x');

       // you can add some
       /*
       $qb->orderBy( ... )
       $qb->where( ... )
       ...
       */

       $pagination = $this->get('pkshetlie.pagination')->process($qb, $request);

       return $this->render('DummyBundle:Dummy:index.html.twig',[
       'pagination'=> $pagination,
       ]);
   }

}
```

in the index.html.twig

```
{% import '@Pagination/Pagination/macro.twig' as macro_pagination %}

{% for entity in pagination.entities %}
   {# ... your stuff with  /  #}
{% endfor %}

{# draw the pagination #}
{{ macro_pagination.paginate(pagination) }}
```

that's all !

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 76.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~64 days

Recently: every ~298 days

Total

46

Last Release

69d ago

Major Versions

v1.2.12 → v2.0.02020-10-22

v2.0.14 → 3.0.02026-02-28

PHP version history (2 changes)v1.0.01PHP ^7.0

v2.0.5PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/52d168c461928ab372f82732f686a8be31a3396ed867168361be1031e8d0f674?d=identicon)[pkshetlie](/maintainers/pkshetlie)

---

Top Contributors

[![pkshetlie](https://avatars.githubusercontent.com/u/266652?v=4)](https://github.com/pkshetlie "pkshetlie (56 commits)")[![Id2iDev](https://avatars.githubusercontent.com/u/12623843?v=4)](https://github.com/Id2iDev "Id2iDev (17 commits)")

---

Tags

symfonytwigpagepagination

### Embed Badge

![Health badge](/badges/pkshetlie-pagination-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pkshetlie-pagination-bundle/health.svg)](https://phpackages.com/packages/pkshetlie-pagination-bundle)
```

###  Alternatives

[nurikabe/star-rating-bundle

Symfony form type and Twig extension for quick integration of FyneWorks' Star Rating widget

113.1k](/packages/nurikabe-star-rating-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
