PHPackages                             met\_mw/spagination - 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. met\_mw/spagination

ActiveLibrary

met\_mw/spagination
===================

Simple pagination library for web-applications.

v1.0.0(9y ago)11021MITPHPPHP &gt;=5.6.0

Since Jul 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/met-mw/SPagination)[ Packagist](https://packagist.org/packages/met_mw/spagination)[ RSS](/packages/met-mw-spagination/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

[![Build Status](https://camo.githubusercontent.com/7b0f388ddd765e74be22fbd535fba43e1d4217ff26fd77857b4a1cc97018cddc/68747470733a2f2f7472617669732d63692e6f72672f6d65742d6d772f53506167696e6174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/met-mw/SPagination)[![Coverage Status](https://camo.githubusercontent.com/9c7f7630f5e30d81d7f5c87a86e86bb067f7dece7c66873363fd5b0801c4e175/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d65742d6d772f53506167696e6174696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/met-mw/SPagination?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/35fe2c2349590d0a7133012e07a137fb9f6a2036f4ba5ec699f7253689b2246a/68747470733a2f2f706f7365722e707567782e6f72672f6d65745f6d772f73706167696e6174696f6e2f762f737461626c65)](https://packagist.org/packages/met_mw/spagination)[![Latest Unstable Version](https://camo.githubusercontent.com/2f3dc77d64846f4410946bccae1de3bfaece0a410090739753d99344fa654fce/68747470733a2f2f706f7365722e707567782e6f72672f6d65745f6d772f73706167696e6174696f6e2f762f756e737461626c65)](https://packagist.org/packages/met_mw/spagination)[![Total Downloads](https://camo.githubusercontent.com/75a997d39cf0ce5431a72d17047074e279da98e352f0e2f5ea5c3117d08843b3/68747470733a2f2f706f7365722e707567782e6f72672f6d65745f6d772f73706167696e6174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/met_mw/spagination)[![License](https://camo.githubusercontent.com/ffb5704dedb7b7ced2c1fcb8bde1d2a9904102cb0ed8c886e1a56434dd299973/68747470733a2f2f706f7365722e707567782e6f72672f6d65745f6d772f73706167696e6174696f6e2f6c6963656e7365)](https://packagist.org/packages/met_mw/spagination)

SPagination
===========

[](#spagination)

Simple independent library to create pagination in web-applications.

Install
-------

[](#install)

composer require met\_mw/spagination

Examples
--------

[](#examples)

#### Render

[](#render)

```
$Pagination = new Pagination();
$Pagination->setCount(100)
    ->setCountOnPage(10)
    ->setCurrentPageNumber(5)
    ->render();
```

#### Get as string

[](#get-as-string)

```
$Pagination = new Pagination();
$paginationHTML = $Pagination->setCount(100)
    ->setCountOnPage(10)
    ->setCurrentPageNumber(5)
    ->get();
```

License
-------

[](#license)

The met-mw/SPagination package is open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**

###  Health Score

27

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

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

3535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1905bb0107672b935ee294eafe6fdf6cc76073c888112f3840fa7916a9246904?d=identicon)[met-mw](/maintainers/met-mw)

---

Top Contributors

[![met-mw](https://avatars.githubusercontent.com/u/3956926?v=4)](https://github.com/met-mw "met-mw (48 commits)")

---

Tags

paginationuniversalindependent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/met-mw-spagination/health.svg)

```
[![Health](https://phpackages.com/badges/met-mw-spagination/health.svg)](https://phpackages.com/packages/met-mw-spagination)
```

###  Alternatives

[knplabs/knp-paginator-bundle

Paginator bundle for Symfony to automate pagination and simplify sorting and other features

1.8k42.2M296](/packages/knplabs-knp-paginator-bundle)[pagerfanta/pagerfanta

Pagination for PHP

42549.4M222](/packages/pagerfanta-pagerfanta)[babdev/pagerfanta-bundle

Bundle integrating Pagerfanta with Symfony

20817.4M58](/packages/babdev-pagerfanta-bundle)[webcreate/jquery-ias

Infinite Ajax Scroll: A jQuery plugin that turns your server-side pagination into an infinite scrolling one using AJAX

900700.9k3](/packages/webcreate-jquery-ias)[jasongrimes/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.

3751.2M21](/packages/jasongrimes-paginator)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180698.7k9](/packages/kop-yii2-scroll-pager)

PHPackages © 2026

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