zhouys/page

a php page class

v1.0.6 2018-08-14 06:39 UTC

README

#下载 composer require zhouys/page

#请在html页面中引入bootstrap,否则样式很丑

use zhouys\Pagelist;

#分页中需要携带的参数 $data = [ 'params'=>[ 'name'=>'zhouys', 'job' => 'phper' ], 'listSize' => 5 ];

$string = (new Pagelist($data))->getPageString(88,10);