PHP code example of duykpro / simple-pagination

1. Go to this page and download the library: Download duykpro/simple-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/ */

    

duykpro / simple-pagination example snippets


<!-- Using pagination data to render pagination -->
 if(count($paginationData)) : 

// If setting "get_query" => true
$config = array(
	...YOUR OTHER CONFIG...
	'uri_path' => 'blog/something',
	'get_query' => 'page',
);