Skip to content

met-mw/SPagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple independent library to create pagination in web-applications.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages