Should I write this weird code or is there a Laravel feature I can use instead?

We walk through a recent experience where Joel was about to "burn down the world," as Aaron calls it. Instead, after doing a little exploration of the Laravel framework code, we landed on a much cleaner solution.

No Compromises, LLC