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

ActiveLibrary

alonity/paginator
=================

Alonity paginator

08PHP

Since Aug 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/alonity/Paginator)[ Packagist](https://packagist.org/packages/alonity/paginator)[ RSS](/packages/alonity-paginator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Paginator
=========

[](#paginator)

Pagination component

Install
-------

[](#install)

`composer require alonity/paginator`

### Examples

[](#examples)

```
use alonity\paginator\Paginator;

require('vendor/autoload.php');

$page = isset($_GET['page']) ? intval($_GET['page']) : 1;

$count = 100;

$limit = 10;

$paginator = Paginator::Pagination($count, $page, $limit)
    ->setUrl("/?page={PAGE}");

$paginator->execute();

foreach($paginator->getPageList() as $page){
    if($page->getPage() == $paginator->getCurrentPage()->getPage()){
        echo "{$page->getName()} ";
    }else{
        echo "{$page->getName()} ";
    }
}
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e5f56cbb91b132c04e03a2910f70a61ad19cb64da547f6f0761348f38347ae4?d=identicon)[alonity](/maintainers/alonity)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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