PHPackages                             babdev/pagerfanta - 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. [Database &amp; ORM](/categories/database)
4. /
5. babdev/pagerfanta

Abandoned → [pagerfanta/pagerfanta](/?search=pagerfanta%2Fpagerfanta)Library[Database &amp; ORM](/categories/database)

babdev/pagerfanta
=================

Pagination for PHP

v4.8.0(3mo ago)42576.1k↓32.1%169[4 issues](https://github.com/BabDev/Pagerfanta/issues)MITPHPPHP ^8.1CI failing

Since Apr 24Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/BabDev/Pagerfanta)[ Packagist](https://packagist.org/packages/babdev/pagerfanta)[ GitHub Sponsors](https://github.com/mbabker)[ RSS](/packages/babdev-pagerfanta/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelogDependencies (17)Versions (59)Used By (0)

Pagerfanta
==========

[](#pagerfanta)

[![Latest Stable Version](https://camo.githubusercontent.com/8d735f18bb9c2b43e5eb3069ff90d8d7fe934b48513a3d9814a6ee3e19472676/68747470733a2f2f706f7365722e707567782e6f72672f706167657266616e74612f706167657266616e74612f76)](https://packagist.org/packages/pagerfanta/pagerfanta) [![Latest Unstable Version](https://camo.githubusercontent.com/8a0ad76d109f7810d3f8c3a012c33098ab2479e3819b15a2de76da9eb79f2a29/68747470733a2f2f706f7365722e707567782e6f72672f706167657266616e74612f706167657266616e74612f762f756e737461626c65)](https://packagist.org/packages/pagerfanta/pagerfanta) [![Total Downloads](https://camo.githubusercontent.com/7fcfe7473a48b2c01b21a5afa67c87385741ade6c8885fef688bfa3143ba179e/68747470733a2f2f706f7365722e707567782e6f72672f706167657266616e74612f706167657266616e74612f646f776e6c6f616473)](https://packagist.org/packages/pagerfanta/pagerfanta) [![License](https://camo.githubusercontent.com/8eba0eea9bd027c1b898898a556cc2fd23c98fc07b5643e6bd97eb0f8a754606/68747470733a2f2f706f7365722e707567782e6f72672f706167657266616e74612f706167657266616e74612f6c6963656e7365)](https://packagist.org/packages/pagerfanta/pagerfanta) [![Run Tests](https://github.com/BabDev/Pagerfanta/workflows/Run%20Tests/badge.svg?branch=3.x)](https://github.com/BabDev/Pagerfanta/workflows/Run%20Tests/badge.svg?branch=3.x)

Pagerfanta is a PHP library which helps with calculating and rendering paginated lists with support for a number of data providers.

This package is a continuation of the original [`Pagerfanta`](https://github.com/whiteoctober/Pagerfanta) package by [White October](https://www.whiteoctober.co.uk/).

Documentation
-------------

[](#documentation)

Please see the [BabDev website](https://www.babdev.com/open-source/packages/pagerfanta/docs/3.x/intro) for detailed information on how to use this package.

Security
--------

[](#security)

If you believe you have discovered a security issue with this package, please email  with information about the issue. Do **NOT** use the public issue tracker for security issues.

Acknowledgements
----------------

[](#acknowledgements)

This package is a continuation of the original [`Pagerfanta`](https://github.com/whiteoctober/Pagerfanta) package by [White October](https://www.whiteoctober.co.uk/). The work from all past contributors to the previous bundle is greatly appreciated.

License
-------

[](#license)

Pagerfanta is licensed under the MIT License. See the [LICENSE file](/LICENSE) for full details.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance78

Regular maintenance activity

Popularity53

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.9% 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 ~80 days

Total

59

Last Release

116d ago

Major Versions

2.x-dev → v3.6.22022-07-21

v3.7.0 → v4.0.02023-03-15

v3.8.0 → v4.1.02023-04-15

3.x-dev → v4.7.22025-10-12

4.x-dev → 5.x-dev2026-01-22

PHP version history (8 changes)v1.0.0PHP &gt;=5.3.0

v2.0.0PHP &gt;=7.0

v2.1.0PHP ^7.0

v2.2.0PHP ^7.2

v2.5.0PHP ^7.2 || ^8.0

v3.0.0-betaPHP ^7.4 || ^8.0

v4.0.0PHP ^8.1

5.x-devPHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/52468993b62b781c3c94028d5626d35fd53297482813af84db6e96e81ae67283?d=identicon)[mbabker](/maintainers/mbabker)

---

Top Contributors

[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (602 commits)")[![pablodip](https://avatars.githubusercontent.com/u/98504?v=4)](https://github.com/pablodip "pablodip (136 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (36 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (11 commits)")[![Finesse](https://avatars.githubusercontent.com/u/9006227?v=4)](https://github.com/Finesse "Finesse (7 commits)")[![cedriclombardot](https://avatars.githubusercontent.com/u/651484?v=4)](https://github.com/cedriclombardot "cedriclombardot (7 commits)")[![johnwards](https://avatars.githubusercontent.com/u/34269?v=4)](https://github.com/johnwards "johnwards (7 commits)")[![ck-developer](https://avatars.githubusercontent.com/u/6842518?v=4)](https://github.com/ck-developer "ck-developer (6 commits)")[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (6 commits)")[![richsage](https://avatars.githubusercontent.com/u/231551?v=4)](https://github.com/richsage "richsage (5 commits)")[![irfanevrens](https://avatars.githubusercontent.com/u/166640?v=4)](https://github.com/irfanevrens "irfanevrens (5 commits)")[![kdubuc](https://avatars.githubusercontent.com/u/895661?v=4)](https://github.com/kdubuc "kdubuc (4 commits)")[![BackEndTea](https://avatars.githubusercontent.com/u/14289961?v=4)](https://github.com/BackEndTea "BackEndTea (4 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (4 commits)")[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (4 commits)")[![acasademont](https://avatars.githubusercontent.com/u/825021?v=4)](https://github.com/acasademont "acasademont (4 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (4 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (3 commits)")[![sergponomaryov](https://avatars.githubusercontent.com/u/298174?v=4)](https://github.com/sergponomaryov "sergponomaryov (3 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (3 commits)")

---

Tags

doctrineelasticamongodb-ormpaginationphpsolariumpagepaginatorpaginationpaging

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/babdev-pagerfanta/health.svg)

```
[![Health](https://phpackages.com/badges/babdev-pagerfanta/health.svg)](https://phpackages.com/packages/babdev-pagerfanta)
```

###  Alternatives

[pagerfanta/pagerfanta

Pagination for PHP

42550.0M245](/packages/pagerfanta-pagerfanta)[beberlei/porpaginas

Library that generically solves several pagination issues with DAO/repository abstractions.

163612.6k11](/packages/beberlei-porpaginas)[paysera/lib-pagination

Paginates Doctrine QueryBuilder using cursor based or offset based pagination

13191.8k1](/packages/paysera-lib-pagination)[data-dog/pager-bundle

Paginator bundle for symfony2 and doctrine orm, allows customization with filters and sorters

11103.5k7](/packages/data-dog-pager-bundle)

PHPackages © 2026

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