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

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

swilliams/pagination
====================

06PHP

Since Dec 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/samuelwilliams/simple-pagination)[ Packagist](https://packagist.org/packages/swilliams/pagination)[ RSS](/packages/swilliams-pagination/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple Pagination
=================

[](#simple-pagination)

This is a simple library to generate a numerical array of page numbers based on:

- Total number of pages
- Current page
- Number of pages to show

It will generate the page numbers about the current page:

```
// Will return array(19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
Pagination::paginate(76, 23, 10);

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dd5f6a3443d2ee5f0121397886a0141ba4f462d1a9686ba613de2815726b62f?d=identicon)[samuelwilliams](/maintainers/samuelwilliams)

---

Top Contributors

[![samuelwilliams](https://avatars.githubusercontent.com/u/806430?v=4)](https://github.com/samuelwilliams "samuelwilliams (8 commits)")

### Embed Badge

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

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

PHPackages © 2026

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