Does this still apply to the latest version of Laravel (currently 5.2, I believe)?

Yes, it applies to the latest version, Laravel’s Eloquent still works the same. Although I wouldn’t recommend using this approach in the whole application. It was necessary to make this particular command more performant, but the rest of the app is still heavily relying on Eloquent.

Show your support

Clapping shows how much you appreciated Marko Lekić’s story.