title: Laravel What is a guard?
body: <p>I was looking through the built in auth controllers and I noticed they use something called "Guards". Up until now whenever I made my own logins/register forms I never touched these and would usually just do things like:</p>
  
  <pre><code>Auth::attempt()
  </code></pre>
  
  <p>without any type of guard. I've tried looking up what exactly it is but I couldn't really find any information on it, could someone explain to me what the purpose of the guards are?</p>