title: Fatal error: Class 'Illuminate\Foundation\Application' not found
body: <p>I am getting following error when I open my site which is made using laravel 5</p>
  <blockquote>
  <p>Fatal error: Class 'Illuminate\Foundation\Application' not found in C:\cms\bootstrap\app.php on line 14</p>
  </blockquote>
  <p>I have tried removing vendor folder and <code>composer.lock</code> file and running composer install it's not working I tried running PHP artisan optimize but it shows error</p>
  <blockquote>
  <p>Fatal error: Class'Illuminate\Foundation\Application' not found</p>
  </blockquote>
  <p>Is there any way to solve this problem?</p>
  <p>Edited:
  This problem aroused as soon as I used the <code>php artisan make:model Page</code> command which did create the model but then the above error gets displayed when I access the site
  Also If use the Laravel's Local Development Server no such problem arises only if I use wamp server</p>