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
Requires
- php: ^8.0
- illuminate/support: *
README
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