sythdev/pagination

This package is abandoned and no longer maintained. No replacement package was suggested.

Library for building advanced and beautiful pagination output.

dev-master 2017-04-13 22:45 UTC

This package is not auto-updated.

Last update: 2020-01-16 20:42:29 UTC


README

This class has written for building advanced and beautiful pagination output.

You can easily build your structure with just 2 lines.

For Example:

$pagination	= new \Sythdev\Pagination(100, 1, 20, 1, 3);
$output		= $pagination->build('somelink/page/','ul','li','ul-class','li-class', 'active');

echo $output;

Please check example.php file for more information.

Installation

Via composer: composer require sythdev/pagination

Manual: Download Pagination Class Then use "require" or "include" like this

require 'src/Pagination.php';