revolution/laravel-pagination-uikit

Laravel pagination template for UIkit

Installs: 2 596

Dependents: 1

Suggesters: 1

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Language:Blade

1.0.4 2024-05-18 01:07 UTC

This package is auto-updated.

Last update: 2024-11-18 02:16:31 UTC


README

https://getuikit.com/

Requirements

  • PHP >= 8.0
  • Laravel >= 10.0

No version restrictions. It may stop working in future versions.

Installation

composer require revolution/laravel-pagination-uikit

AppServiceProvider@boot

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Pagination\Paginator;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     */
    public function boot(): void
    {
        Paginator::defaultView('pagination-uikit::uikit3');
        Paginator::defaultSimpleView('pagination-uikit::uikit3-simple');
    }
}

Publishing Views(Optional)

php artisan vendor:publish --tag=pagination-uikit

resources/views/vendor/pagination-uikit

LICENSE

MIT