title: getting error "Class 'Illuminate\Foundation\Application" not found in laravel 5.1
body: <p>First of all..sorry for my bad english.</p>
  
  <p>I installed a fresh copy of laravel 5 on my localhost and configured its <strong>database.php</strong> and <strong>.env</strong> file. it was running well.</p>
  
  <p>After that i added (as stated here <a href="https://laravelcollective.com/docs/5.1/html" rel="nofollow">https://laravelcollective.com/docs/5.1/html</a>)</p>
  
  <pre><code>    "require": {
      "laravelcollective/html": "5.1.*"
  }
  </code></pre>
  
  <p>in my <strong>composer.json</strong> And. updated Composer from the Terminal:</p>
  
  <pre><code>composer update
  </code></pre>
  
  <p>Next, When i am running my page, it gives following fatal error:</p>
  
  <blockquote>
    <p>Fatal error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\TodoApp\bootstrap\app.php on line 14</p>
  </blockquote>