Hello,
Ive been trying to use the Laravel pagination {{ $brands->links() }} but it's not working.
I haven't found anything about pagination in your documentation as it is quite poor in explications.
Knowing that i want to use the pagination styles i find in the HTML theme
Hi Ali Silarbi,
Do you mean this code {{ $brands->links() }} doesn't work because of PHP errors? Or the style doesn't work?
Thanks
Hello,
I'm sorry for my late reply, but the styles don't work.
Thank you for your reply and help
Can anyone please help me with this ?
Hi Ali,
The default bootstrap pagination style can be set as the example here.
use Illuminate\Pagination\Paginator;
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Paginator::useBootstrapFive();
Paginator::useBootstrapFour();
}