met_mw/spagination

Simple pagination library for web-applications.

Maintainers

Package info

github.com/met-mw/SPagination

pkg:composer/met_mw/spagination

Statistics

Installs: 102

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.0 2016-07-19 15:14 UTC

This package is not auto-updated.

Last update: 2026-03-09 12:51:14 UTC


README

Build Status Coverage Status Latest Stable Version Latest Unstable Version Total Downloads License

SPagination

Simple independent library to create pagination in web-applications.

Install

composer require met_mw/spagination

Examples

Render

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

Get as string

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

License

The met-mw/SPagination package is open-sourced software licensed under the MIT license