title: Where to find the Auth::attempt method in laravel
body: <p>I want to add extra conditions to the authentication query in addition to the user's e-mail and password in my Laravel project</p>
  
  <p>I read this on the officials laravel documentation.
  <a href="https://laravel.com/docs/5.6/authentication" rel="nofollow noreferrer">https://laravel.com/docs/5.6/authentication</a></p>
  
  <blockquote>
    <p>Specifying Additional Conditions If you wish, you may also add extra
    conditions to the authentication query in addition to the user's
    e-mail and password. For example, we may verify that user is marked as
    "active":</p>
  
  <pre><code>if (Auth::attempt(['email' =&gt; $email, 'password' =&gt; $password, 'active' =&gt; 1])) {
      // The user is active, not suspended, and exists.
  }
  </code></pre>
  </blockquote>
  
  <p>Where can I find this method?</p>