PHPackages                             avn/paginator - 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. avn/paginator

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

avn/paginator
=============

Paginator

0.1.0(3y ago)0188PHPPHP &gt;=7.4

Since Oct 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AlexVasechkin/paginator)[ Packagist](https://packagist.org/packages/avn/paginator)[ RSS](/packages/avn-paginator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Paginator
=========

[](#paginator)

How to use
----------

[](#how-to-use)

```
$idList = $someRepository->getIdList(); // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

$pagination = new Paginator(
    (new PaginatorRequest($idList))
        ->setCurrentPage(3)
        ->setLimit(2)
)

$totalPageCount = $pagination->getTotalPageCount(); // 5
$resultIdList = $pagination->getIdList(); // [5, 6]
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae1733023c2dea6cb76f21f20e1fe5266dda8ba76cccc6dd9bbd0e93f56fddb9?d=identicon)[Alex.Vasechkin](/maintainers/Alex.Vasechkin)

---

Top Contributors

[![AlexVasechkin](https://avatars.githubusercontent.com/u/44292324?v=4)](https://github.com/AlexVasechkin "AlexVasechkin (2 commits)")

### Embed Badge

![Health badge](/badges/avn-paginator/health.svg)

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

###  Alternatives

[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71346.6M111](/packages/scrivo-highlightphp)[insolita/unused-scanner

Detect unused composer dependencies

4261.2M14](/packages/insolita-unused-scanner)[kartik-v/yii2-widget-typeahead

Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).

475.1M9](/packages/kartik-v-yii2-widget-typeahead)

PHPackages © 2026

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