Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or
to your account and sit back.
At the moment, we have a long, fluent Eloquent query in our controller. Instead, let's use TDD to extract it into the Activity model.
View the source code for this episode on GitHub.
Published on Apr 24th, 2017.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!