title: Laravel: `php artisan app:name MyApp` caused an exception: Kernel does not exist
body: <p>I wanted to change the <code>app.name</code> of my Laravel project, I run: </p>
  
  <pre><code>php artisan app:name Retro
  
  </code></pre>
  
  <p>But have error: </p>
  
  <blockquote>
    <p>Fatal error: Uncaught ReflectionException: Class Retro\Console\Kernel does >not exist in C:\photo->storage\vendor\laravel\framework\src\Illuminate\Container\Container.php:779</p>
  </blockquote>
  
  <p>Then, I edited <code>APP_NAME = Retro</code>, and run: 
  <code>php artisan config:clear</code></p>
  
  <p>But it not working</p>