PHP code example of dutchcodingcompany / cursor-pagination
1. Go to this page and download the library: Download dutchcodingcompany/cursor-pagination 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/ */
dutchcodingcompany / cursor-pagination example snippets
namespaces => [
'directives' => ['DutchCodingCompany\\CursorPagination\\Directives']
]
php
User::orderBy('updated_at', 'asc')->cursorPaginate($limit);