title: Class 'BeyondCode\DumpServer\DumpServerServiceProvider' not found when I make composer install --optimize-autoloader --no-dev
body: <p>I'm deploying my Laravel application and want to optimize the autoload, normally I would run the command</p>
  <pre><code>composer install --optimize-autoloader --no-dev
  </code></pre>
  <p>This is an application that runs <strong>Laravel 5.8</strong>. I am getting the following error:</p>
  <blockquote>
  <p>In Application.php line 662:
  Class 'BeyondCode\DumpServer\DumpServerServiceProvider' not found<br />
  Script @php artisan package:discover --ansi handling the
  post-autoload-dump event returned with error code 1</p>
  </blockquote>