Answer the question
In order to leave comments, you need to log in
How to make pagination without query string in laravel 5.1 using LengthAwarePaginator?
I want to make pagination, but without the ugly ?page=. I'm trying to use the LengthAwarePaginator class for this. Passing parameters to the constructor
$paginator = LengthAwarePaginator($authors, count($authors), 10, $page);
Answer the question
In order to leave comments, you need to log in
I end up with 1What do you mean by this?
Can be used: https://packagist.org/packages/spatie/laravel-pagi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question