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.
Let's begin our refactoring by applying the squint test. If we squint our eyes and scan the Query, what immediately jumps out at us? Indentation? Common method names? Multiple return types? Let's see!
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!