PHP code example of revolution / laravel-pagination-uikit
1. Go to this page and download the library: Download revolution/laravel-pagination-uikit 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/ */
revolution / laravel-pagination-uikit example snippets
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');
}
}
php artisan vendor:publish --tag=pagination-uikit