Class '\App\User' not found in Laravel when changing the namespace
<p>I am having this error when moving <code>User.php</code> to <code>Models/User.php</code></p>

<blockquote>
  <p>local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Fatal error:
  Class '\App\User' not found</p>
  
  <p>vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php:126</p>
</blockquote>