title: Laravel 5.4 Class App\Http\Controllers\Auth\Request does not exist
body: <p>I need to create a custom login auth for email verification, I will post some snippets to give you an idea of the problem:</p>
  
  <p>But, i receive the following <strong>Class App\Http\Controllers\Auth\Request does not exist</strong></p>
  
  <p>Stack overflow is saying i need more text as it is mostly code, i hope this excpert here will be enough to bump it up.</p>
  
  <p>The login.blade - default that comes with auth, just tweaked slightyl</p>
  
  <pre><code>&lt;form class="form-horizontal" method="POST" action="{{ route('loginc') }}"&gt;
                      {{ csrf_field() }}
  
                      &lt;div class="form-group{{ $errors-&gt;has('email') ? ' has-error' : '' }}"&gt;
                          &lt;label for="email" class="col-md-4 control-label"&gt;E-Mail Address&lt;/label&gt;
  
                          &lt;div class="col-md-6"&gt;
                              &lt;input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus&gt;
  
                              @if ($errors-&gt;has('email'))
                                  &lt;span class="help-block"&gt;
                                      &lt;strong&gt;{{ $errors-&gt;first('email') }}&lt;/strong&gt;
                                  &lt;/span&gt;
                              @endif
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group{{ $errors-&gt;has('password') ? ' has-error' : '' }}"&gt;
                          &lt;label for="password" class="col-md-4 control-label"&gt;Password&lt;/label&gt;
  
                          &lt;div class="col-md-6"&gt;
                              &lt;input id="password" type="password" class="form-control" name="password" required&gt;
  
                              @if ($errors-&gt;has('password'))
                                  &lt;span class="help-block"&gt;
                                      &lt;strong&gt;{{ $errors-&gt;first('password') }}&lt;/strong&gt;
                                  &lt;/span&gt;
                              @endif
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-6 col-md-offset-4"&gt;
                              &lt;div class="checkbox"&gt;
                                  &lt;label&gt;
                                      &lt;input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}&gt; Remember Me
                                  &lt;/label&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-8 col-md-offset-4"&gt;
                              &lt;button type="submit" class="btn btn-primary"&gt;
                                  Login
                              &lt;/button&gt;
  
                              &lt;a class="btn btn-link" href="{{ route('password.request') }}"&gt;
                                  Forgot Your Password?
                              &lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/form&gt;
  </code></pre>
  
  <p>loginController.php</p>
  
  <pre><code>namespace App\Http\Controllers\Auth;
  use App\Http\Controllers\Auth\Request;
  use App\Http\Controllers\Controller;
  use Illuminate\Foundation\Auth\AuthenticatesUsers;
  
  class LoginControllerCustom extends Controller
  {
  use AuthenticatesUsers;
  public function login(Request $request)
  {
  
          return 'boo';
          $this-&gt;validateLogin($request);
   {
  
  protected function validateLogin(Request $request)
  {
      $this-&gt;validate($request, [
          $this-&gt;username() =&gt; 'required|string|max:150',
          'password' =&gt; 'required|string|max:150',
      ]);
  }
  }
  </code></pre>