k2klettern / array-pagination
Set a Pagination from an array of results
Package info
github.com/k2klettern/array-pagination
Type:project
pkg:composer/k2klettern/array-pagination
1.0
2018-05-22 11:05 UTC
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2026-03-20 10:53:31 UTC
README
Class to Paginate results from an array by Eric Zeidan k2klettern@gmail.com
How to use it
Clone in your vendor/
Install via composer update
or
composer create-project k2klettern/array-pagination
To get the Pagination just instantiate the class
$arrayToPaginate;
$c = new \arrayPagination\thePagination(); $c->setArray($arrayToPaginate); $arrayFiltered = $c->getPagination();
Do whatever you want with your array filtered
print the pagination
$c->theArrayPagination();