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.2(3mo ago)2543GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Mar 26Pushed 3mo 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 2w ago

READMEChangelogDependencies (4)Versions (48)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

48

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity16

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 ~63 days

Recently: every ~245 days

Total

47

Last Release

99d 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://avatars.githubusercontent.com/u/266652?v=4)[Pierrick P.](/maintainers/pkshetlie)[@pkshetlie](https://github.com/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

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

939.0k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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