For our first refactoring exercise, we'll extract a login form validation object. This approach will allow us to keep our controllers lean, clear, and easier to potentially reuse in other places.
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: https://laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way