title: How to clear cache Laravel?
body: <p>I tried these commands:</p>
  
  <pre><code>php artisan config:cache  
  
  php artisan route:cache  
  
  php artisan cache:clear
  </code></pre>
  
  <p>All of them return me error:</p>
  
  <pre><code>Class 'App\Providers\InvitationServiceProvider' not found
  </code></pre>
  
  <p>But I dont have <code>InvitationServiceProvider</code> anywhere in project.</p>
  
  <p>So, how to rebuild Laravel?</p>
  
  <p>Also I tried <code>composer dump</code> and <code>php artisan serve</code></p>
  
  <p>Dump is:</p>
  
  <pre><code>PS C:\Projects\secure&gt; composer dump-autoload -o
  Generating optimized autoload files
  &gt; Illuminate\Foundation\ComposerScripts::postAutoloadDump
  &gt; @php artisan package:discover --ansi
  
  In ProviderRepository.php line 208:
  
    Class 'App\Providers\InvitationServiceProvider' not found
  
  
  Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
  </code></pre>