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

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

linice/pagination
=================

Php pagination, visited by direct view page(not ajax), and use bootstrap css.

v1.0.1(10y ago)0109PHPPHP &gt;=5.6.0

Since Apr 1Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

pagination
==========

[](#pagination)

Pagination contains an instantiable class, along with a view which renders the pagination markup.

The purpose of this library is to provide a simple API to render pagination markup, without having to worry about including common files and set too many settings. With this class, you simply pass in your parameters and make a call to the instance's \* method.

Pagination using bootstrap theme(css), so just include bootstrap.css in your view page.

` php &lt;?php // source inclusion require\_once PRJ\_PATH . '/vendor/pagination/Pagination.class.php';

use Pagination;

// determine page (based on &lt;\_GET&gt;) $page = isset($\_GET\['page'\]) ? ((int) $\_GET\['page'\]) : 1; // instantiate; set current page; set number of records $pagination = new Pagination(); $pagination-&gt;setCurrent($page); $pagination-&gt;setRPP(15); $pagination-&gt;setTotal(200); // grab rendered/parsed pagination markup $pager = $pagination-&gt;parse();

`

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3781d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6425979?v=4)[Roy](/maintainers/linice)[@linice](https://github.com/linice)

---

Top Contributors

[![linice](https://avatars.githubusercontent.com/u/6425979?v=4)](https://github.com/linice "linice (10 commits)")

### Embed Badge

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

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

###  Alternatives

[memio/spec-gen

phpspec extension for better code generation

67204.9k28](/packages/memio-spec-gen)

PHPackages © 2026

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