Support the ongoing development of Laravel.io →
posted 2 years ago
Views

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..

Last updated by @alloz 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Arif Z alloz Joined 16 Oct 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.