k2klettern / array-pagination
Set a Pagination from an array of results
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2024-09-20 03:18:09 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();