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

ActiveLibrary[Database &amp; ORM](/categories/database)

phauthentic/pagination
======================

A framework and library agnostic data paginator

1.0.0(6y ago)1501MITPHP

Since Jan 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Phauthentic/pagination)[ Packagist](https://packagist.org/packages/phauthentic/pagination)[ RSS](/packages/phauthentic-pagination/feed)WikiDiscussions master Synced today

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

Framework agnostic Pagination
=============================

[](#framework-agnostic-pagination)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Scrutinizer Coverage](https://camo.githubusercontent.com/78bae5aa774b3b28a2556e04e30f351923ee254a8cd99c49cc102fe55d7c29b7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f506861757468656e7469632f706167696e6174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/pagination/)[![Code Quality](https://camo.githubusercontent.com/dd6d46dbd88367131370017238328579032086db990b649d2c30454acbc94821/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f506861757468656e7469632f706167696e6174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/pagination/)

This library is a framework agnostic way of paginating through data sets. The only dependency is [psr/http-message](https://github.com/php-fig/http-message).

It gets the information from the request object that must comply to [the PSR-7 standard](https://www.php-fig.org/psr/psr-7/) and turns it into an object that is passed to a mapper that will map it to the data layer implementation. You can implement your own paginator based on the [PaginatorInterface](./src/Paginator/PaginatorInterface.php) to create an adapter for your implementation.

Included Paginator Adapters
---------------------------

[](#included-paginator-adapters)

- [Array](http://php.net/manual/en/language.types.array.php)
- [CakePHP ORM v3](https://book.cakephp.org/3.0/en/orm.html)
- [Doctrine2](https://www.doctrine-project.org/)
- [Elastica](https://github.com/ruflin/elastica)
- [FluentPDO](https://github.com/envms/fluentpdo)

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

[](#documentation)

- [Paginators](./docs/Paginators.md)
    - [Array](./docs/Paginators.md#Array)
    - [CakePHP3 ORM](./docs/Paginators.md#Cake-ORM)
    - [Doctrine 2](./docs/Paginators.md#Doctrine-2)
    - [Elastica](./docs/Paginators.md#Elastica)
- [The Pagination Service](./docs/The-Pagination-Service.md)

Copyright &amp; License
-----------------------

[](#copyright--license)

Licensed under the [MIT license](LICENSE.txt)

Copyright (c) [Phauthentic](https://github.com/Phauthentic)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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 ~287 days

Total

2

Last Release

2481d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (58 commits)")[![xpalko](https://avatars.githubusercontent.com/u/8526481?v=4)](https://github.com/xpalko "xpalko (1 commits)")

---

Tags

framework-agnosticpaginationpaginatorpagingpaging-libpaging-libraryphp7psrpsr-7arraydatabasepaginationpagingdatasourceagnostic

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[kreait/firebase-php

Firebase Admin SDK

2.4k46.0M90](/packages/kreait-firebase-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k54](/packages/neuron-core-neuron-ai)[pagerfanta/pagerfanta

Pagination for PHP

42552.6M302](/packages/pagerfanta-pagerfanta)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[mevdschee/php-crud-api

Single file PHP script that adds a REST API to a SQL database.

3.7k67.4k10](/packages/mevdschee-php-crud-api)

PHPackages © 2026

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