Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

PHP For Beginners, Ep 43 – Extract an Authenticator Class

5.5K views on YouTube

Next up, we can further clean up our controller and improve clarity by extracting an Authenticator class. This new class can then be responsible for handling the actual authentication logic.

Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.

Laracasts: https://laracasts.com

Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way