title: Class 'Maatwebsite\\Excel\\ExcelServiceProvider' not found - Laravel 4.2
body: <p>I'm using Laravel 4.2, after running <code>php artisan migrate</code> I got </p>
  
  <pre><code>PHP Fatal error:  Class 'Maatwebsite\Excel\ExcelServiceProvider' not found in /home/forge/site/distributor-portal/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157
  PHP Stack trace:
  PHP   1. {main}() /home/forge/site/distributor-portal/artisan:0
  PHP   2. require_once() /home/forge/site/distributor-portal/artisan:30
  PHP   3. require() /home/forge/site/distributor-portal/bootstrap/start.php:68
  PHP   4. Illuminate\Foundation\ProviderRepository-&gt;load() /home/forge/site/distributor-portal/vendor/laravel/framework/src/Illuminate/Foundation/start.php:210
  PHP   5. Illuminate\Foundation\ProviderRepository-&gt;compileManifest() /home/forge/site/distributor-portal/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:57
  PHP   6. Illuminate\Foundation\ProviderRepository-&gt;createProvider() /home/forge/site/distributor-portal/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:121
  {"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Maatwebsite\\Excel\\ExcelServiceProvider' not found","file":"\/home\/forge\/site\/distributor-portal\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":157}}
  </code></pre>
  
  <p>This is what I have in <code>composer.json</code></p>
  
  <pre><code>"maatwebsite/excel": "~1.3"
  </code></pre>
  
  <p>I am running on <strong>PHP 5.6</strong>.</p>
  
  <blockquote>
    <p>Maatwebsite\Excel\ExcelServiceProvider</p>
  </blockquote>
  
  <p>How do I avoid this ? Is this something that I did in one of my migration files  ?</p>