Laravel can spot a lazy loaded relationship inside a loop and load it for the wh...

@jclermont@phpc.social

Laravel can spot a lazy loaded relationship inside a loop and load it for the whole collection at once. But it doesn't do quite the same thing as chaperone. #php #laravel masteringlaravel.io/daily/2026