jorqensen/superkube-pagination

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel pagination support for Superkube.css

v1.0.0 2022-02-12 00:00 UTC

This package is auto-updated.

Last update: 2023-03-15 13:13:30 UTC


README

banner

Installation

  1. Require the package via your terminal.
$ composer require jorqensen/superkube-pagination
  1. Set the pagination views in your AppServiceProvider.
<?php
 
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');
    }
}
  1. If you're not using Laravel's auto package discovery, make sure you manually set the service provider in your config/app.php
<?php

return [
    /*
    * Package Service Providers...
    */
    Jorqensen\SuperkubePagination\SuperkubePaginationServiceProvider::class,
];

Publishing views

You can publish the pagination views using Artisan's venor:publish command.

$ php artisan vendor:publish --tag="superkube-pagination"

The views will be published to /resources/views/vendor/superkube-pagination.

Support

This package currently supports the following Laravel versions:

  • Laravel 8.x
  • Laravel 9.x

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.