dev-master
9999999-devPagination for collections in PHP
BSD-3-Clause
The Requires
The Development Requires
by Jacek Kobus
Pagination for collections in PHP
Paginator is fully compatible with Collection (PHPExtra/Collection). It's task is to split large collections into pages., (*2)
$page = 2; $itemsPerPage = 10; $products = new Collection(...); $paginator = new Paginator($products, $page, $itemsPerPage); echo $paginator->getPage(); // returns a collection with size of 10 for current page echo $paginator->getNextPageNumber(); // returns "3" echo $paginator->hasNextPage(); // returns bool true or false
No release yet
All code contributions must go through a pull request. Fork the project, create a feature branch, and send me a pull request. To ensure a consistent code base, you should make sure the code follows the coding standards. If you would like to help take a look at the list of issues., (*3)
See **composer.json** for a full list of dependencies.
Jacek Kobus - <kobus.jacek@gmail.com>
See the file LICENSE.txt for copying permission.
Pagination for collections in PHP
BSD-3-Clause