Avoid the Mess: Structuring Laravel View Data with ViewModels

When working with .NET Framework MVC applications, I used to use bound view models, which let me use classes on the Razor templates very…