PHP code example of omidmorovati / paginator

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

    

omidmorovati / paginator example snippets

bash
php artisan omidmorovati-paginator:install
 php
$users=\App\User::makePaginate($perPage);
 php
$users->renderPaginate();
 php
$users->renderPaginate('/page/');
 php
<link href="{{asset('vendor/omidmorovati/paginator/css/style.css')}}" rel="stylesheet">