laravel builder paginate code example
Example 1: laravel pagination
{{ $users->withQueryString()->links() }}
Example 2: custom pagination laravel css
php artisan vendor:publish --tag=laravel-pagination
OR
use Illuminate\Pagination\Paginator;
public function boot()
{
Paginator::defaultView('your-pagination-view-name');
}