PHP code example of ajiho / think-paginator-driver
1. Go to this page and download the library: Download ajiho/think-paginator-driver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ajiho / think-paginator-driver example snippets
'think\Paginator' => \ajiho\paginator\driver\Bootstrap5::class
'think\Paginator' => \ajiho\paginator\driver\Bootstrap5::class
\think\facade\App::bind('think\Paginator', \ajiho\paginator\driver\Bootstrap5::class);
$users = User::paginate(10);
//...