PHP code example of arabcoders / pagination

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

    

arabcoders / pagination example snippets




erer = new \arabcoders\pagination\Renderer\HTML();

$pagination = ( new \arabcoders\pagination\Pagination( $renderer ) )->setItems( 50 ,1 ,10 );

echo $pagination->render();