Hey, I'm writing a book.  Eloquent Beyond The Basics

🔥 Laravel Tip: orderByPivot

Nov 4, 2022

You can order your many-to-many relationships by the creation time.

For example, getting the subscribers from most recent to least recent.
tip-image-0