Posted: 29-06-2017

Laravel Eager load the related models of a collection

Laravel Eager load the related models of a collection

Nice Tips  from Mohamed Said @themsaid

Like this simple new addition coming in Laravel 5.4.28, it's handy for when you need to eager-load related models of a collection on the go.