At the moment, we have a long, fluent Eloquent query in our controller. Instead, let's use TDD to extract it into the
View the source code for this episode on GitHub.
Published on Apr 24th, 2017.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.