jahstation's avatar

manual pagination without a model

Is it possible? I found this on manual, but isnt clear to me how to solve this: https://laravel.com/docs/5.6/pagination#manually-creating-a-paginator

I've an array of things that is not related to a model, and i need to paginate the result...

thanks

0 likes
4 replies
jahstation's avatar

no problem to slice an array via php, but then how to make the fantastic {{$something->links()}} works on front page?

@tomopongrac the solution on the link not works, and is based to another post where the solution is not clear to me...

Please or to participate in this conversation.