PHP code example of designcafe / navigator

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

    

designcafe / navigator example snippets



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

echo $pager->render();