Laravel Pro Tips
#pagination
🌶️ #Laravel tip: When you want to paginate your data results & only show "Next" and "Previous" buttons, you can opt for "simplePaginate()" instead of "paginate()" method. In this case, simplePaginate() is more efficient 👍 #PHP #Developers #100Devs
Bilal Haidar - Available 4 Laravel gigs
#pagination #collections
🔥 #Laravel paginator tip: you can use getCollection and setCollection if you need to do something to the paginator underlying data. Trust me you'll know when you need this.
Alan Rezende 🔥 Full Stack Developer
Jan 17th, 2022
#pagination #joins
Efficient Pagination Using Deferred Joins
A slight modification to traditional offset/limit pagination that can drastically boost performance.