title: laravel - class not found for new service provider
body: <p>i created a new folder ViewComposers and added a new file ViewComposer.php.
  Path = App/Http/ViewCompers/ViewComper.php </p>
  
  <p>Below is my code</p>
  
  <pre><code>&lt;?php namespace App\Providers;
  use Illuminate\Support\ServiceProvider;
  class ViewComposer extends ServiceProvider{
       public function boot(){
              view()-&gt;composer('*', function (View $view) {
               $view-&gt;with('new_thread_comment_count', '50');
       });
  }
  </code></pre>
  
  <p>and in my config\app.php i have added</p>
  
  <pre><code>'App\Providers\ViewComposer',
  </code></pre>
  
  <p>and i have also run composer dump-autoload.
  But i still received <strong>FatalErrorException in ProviderRepository.php line 146:
  Class 'App\Providers\ViewComposer' not found.</strong></p>
  
  <p>Did i miss out anything?</p>