This is in reply to pagination-and-up-next-article that I can no longer comment because it's an old thread.
When calling the paginate method, you will receive an instance of Illuminate\Pagination\LengthAwarePaginator. Look up displaying-pagination-results to use the meta fields provided as json when using paginate(). The Laravel docs use blade in the view but you can also look up how to view it when using Bootstrap/tailwind.
Would love to know if anybody have any thoughts, ideas or how you implement pagination better more than the basic examples provided in the official docs..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community