PHPackages                             pollen-solutions/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pollen-solutions/pagination

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pollen-solutions/pagination
===========================

Pollen Solutions - Pagination Component - Layer and utilities to paginate items in web applications

v1.0.1(4y ago)03MITPHPPHP ^7.4 || ^8.0

Since Aug 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pollen-solutions/pagination)[ Packagist](https://packagist.org/packages/pollen-solutions/pagination)[ Docs](https://www.presstify.com/pollen-solutions/pagination/)[ RSS](/packages/pollen-solutions-pagination/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Pagination Component
====================

[](#pagination-component)

[![Latest Stable Version](https://camo.githubusercontent.com/6f587d4dabbad21a85be022923b077abe3bdd6aab29b06f91ae2f3587fef9b5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f6c6c656e2d736f6c7574696f6e732f706167696e6174696f6e2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pollen-solutions/pagination)[![MIT Licensed](https://camo.githubusercontent.com/daa52099573be5a50c320c4387496400f2f722e49f86a42db8d5778130d3582d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f7374796c653d666f722d7468652d6261646765)](LICENSE.md)[![PHP Supported Versions](https://camo.githubusercontent.com/d9d71d0b69072c51e1ff7adfdb6270f896f75787500ce6437120e23727c081d1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e342d3838393242463f7374796c653d666f722d7468652d6261646765266c6f676f3d706870)](https://www.php.net/supported-versions.php)

Pollen Solutions **Pagination** Component provides layer and utilities to paginate items in web applications. It provides an adapter for Wordpress application.

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

[](#installation)

```
composer require pollen-solutions/pagination
```

Basic Usage
-----------

[](#basic-usage)

```
use Pollen\Pagination\PaginationManager;
use Pollen\Pagination\Paginator;

$pagination = new PaginationManager();
$paginator = new Paginator(
    [
        'per_page' => 20,
        'total'    => 60,
    ]
);

var_dump($paginator->toArray());

$pagination->setPaginator($paginator);

echo $pagination;
```

Wordpress Usage
---------------

[](#wordpress-usage)

In this example, we consider that the current HTTP request corresponds to a search results page. ex.

```
use Pollen\Pagination\PaginationManager;

add_action('wp', function () {
    echo new PaginationManager();
    exit;
});
```

Through a controller
--------------------

[](#through-a-controller)

```
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1d9488545d6b446f8df86ec373a070e7fed1166fc47e1324d963e46d3d838d3?d=identicon)[presstify](/maintainers/presstify)

---

Top Contributors

[![jordy-manner](https://avatars.githubusercontent.com/u/733356?v=4)](https://github.com/jordy-manner "jordy-manner (3 commits)")

---

Tags

phppaginatorcomponentpollen-solutionswordpress adapter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[knplabs/knp-components

Knplabs component library

77343.6M46](/packages/knplabs-knp-components)[dlds/yii2-mlm

Yii2 Multi Level Marketing component

183.8k](/packages/dlds-yii2-mlm)

PHPackages © 2026

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