Download the PHP package criativamos/paginator without Composer
On this page you can find all versions of the php package criativamos/paginator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download criativamos/paginator
More information about criativamos/paginator
Files in criativamos/paginator
Download criativamos/paginator
More information about criativamos/paginator
Files in criativamos/paginator
Vendor criativamos
Package paginator
Short Description A simple PHP library to create pagination
License MIT
Package paginator
Short Description A simple PHP library to create pagination
License MIT
Please rate this library. Is it a good library?
Informations about the package paginator
Paginator
A simple PHP library to create pagination.
Installation
How to use
You can see the full implementation in example.php Do not forget to create the test database mock_data.sql
Query with parameters
You can do the same like this
Get detailed results
Output
Array
(
[currentPage] => 1
[total] => 200
[perPage] => 10
[lastPage] => 19
[nextPageUrl] => http://localhost/lab/pagination/example.php?page=2
[prevPageUrl] => http://localhost/lab/pagination/example.php
[currentUrl] => http://localhost/lab/pagination/example.php
[from] => 1
[to] => 10
[data] => Array
(
...
)
)
All versions of paginator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
The package criativamos/paginator contains the following files
Loading the files please wait ....