PHPackages                             jose-chan/pager - 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. jose-chan/pager

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

jose-chan/pager
===============

v1.0.1(7y ago)033LGPL-3.0-onlyPHP

Since Oct 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ILoveJoseM/Pager)[ Packagist](https://packagist.org/packages/jose-chan/pager)[ RSS](/packages/jose-chan-pager/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (3)Used By (0)

简单分页组件
======

[](#简单分页组件)

示例
--

[](#示例)

```
$page = 1;//当前页数
$size = 20;//每页行数

$count = 200;//总行数

$pager = new Pager($page, $size);

$meta = $pager->getPager($count);
//$meta = [
//  'total_count'	=>	200,
//  'page_size'	=>	20,
//  'total_page'	=>	10,
//  'first_page'	=>	1,
//  'prev_page'	=>	1,
//  'next_page'	=>	2,
//  'last_page'	=>	20,
//  'current_page'=>	1
//]
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~89 days

Total

2

Last Release

2680d ago

### Community

Maintainers

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

---

Top Contributors

[![524233828](https://avatars.githubusercontent.com/u/11416856?v=4)](https://github.com/524233828 "524233828 (1 commits)")

---

Tags

pager

### Embed Badge

![Health badge](/badges/jose-chan-pager/health.svg)

```
[![Health](https://phpackages.com/badges/jose-chan-pager/health.svg)](https://phpackages.com/packages/jose-chan-pager)
```

###  Alternatives

[knplabs/knp-components

Knplabs component library

77343.6M46](/packages/knplabs-knp-components)[aplus/pagination

Aplus Framework Pagination Library

2091.6M3](/packages/aplus-pagination)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180706.5k10](/packages/kop-yii2-scroll-pager)[ashleydawson/simple-pagination

Simple, lightweight and universal service that implements pagination on collections of things

18161.2k2](/packages/ashleydawson-simple-pagination)[ttskch/paginator-bundle

The most thin, simple and customizable paginator bundle for Symfony

1113.2k](/packages/ttskch-paginator-bundle)[sivka/paginator

bootstrap-4 fork of jasongrimes/php-paginator, a lightweight PHP paginator, for generating pagination controls in the style of Stack Overflow and Flickr. The 'first' and 'last' page links are shown inline as page numbers, and excess page numbers are replaced by ellipses.

141.3k](/packages/sivka-paginator)

PHPackages © 2026

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