met_mw/spagination

Simple pagination library for web-applications.

Installs: 102

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/met_mw/spagination

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

This package is not auto-updated.

Last update: 2025-10-20 11:06:49 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