title: Laravel - provider class not found
body: <p>I know there's been numerous other posts like this, but none of them worked for me, and I'm at my rope's end - this is driving me nuts. </p>
  
  <p>I'm using <a href="https://github.com/robbiepaul/cloudconvert-laravel" rel="nofollow noreferrer">CloudConvert</a>, which works perfectly on my local instance. When pushing up to my EC2 server, I'm just getting this error:</p>
  
  <pre><code>Class 'CloudConvert' not found in /var/www/html/api/app/Jobs/UploadFile.php:169
  </code></pre>
  
  <p>I've obviously tried <code>composer dump-autoload</code> which does nothing, tried <code>composer update</code> and <code>composer install</code> which did even less. I've removed any record of it, re-installed with <code>composer require</code> and then <code>php artisan vendor:publish</code>. Also nothing. Gave <code>php artisan optimize --force</code> but that's never really worked for anything. </p>
  
  <p>I'm adding the service provider like so:</p>
  
  <pre><code>RobbieP\CloudConvertLaravel\CloudConvertLaravelServiceProvider::class,
  </code></pre>
  
  <p>...and the facade like so:</p>
  
  <pre><code>'CloudConvert' =&gt; RobbieP\CloudConvertLaravel\Facades\CloudConvert::class,
  </code></pre>
  
  <p>Once again, works perfectly locally. I'm sort of out of ideas. </p>
  
  <p>Anyone got any insights I'm missing?</p>