PHP code example of simpsyst / paginator

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

    

simpsyst / paginator example snippets



e = filter_input(INPUT_GET, "page", FILTER_VALIDATE_INT);
$pager = new \SimpSyst\Paginator\Paginator();
$pager->pager($page, 100, 10);

echo $pager->render();

$pager->render(null, false);