PHP code example of jorqensen / superkube-pagination

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

    

jorqensen / superkube-pagination example snippets



 
namespace App\Providers;
 
use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
 
class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Paginator::defaultView('superkube-pagination::default');
        Paginator::defaultSimpleView('superkube-pagination::simple');
    }
}



return [
    /*
    * Package Service Providers...
    */
    Jorqensen\SuperkubePagination\SuperkubePaginationServiceProvider::class,
];
bash
$ php artisan vendor:publish --tag="superkube-pagination"