Skip to content
Advertisement

PHP Fatal error: Uncaught Error: Class ‘IlluminateFoundationApplication’ not found [closed]

i am installing laravel for the first time everything seemed perfect until i enter the command ‘php artisan serve’. its showing

JavaScript

i tried every command like

composer dump-autoload

JavaScript

nothing is working

Advertisement

Answer

Your error message shows you have a problem with composer autoloading. Try the following steps;

  1. Make sure you have deleted the vendor folder and composer.lock file
  2. Run composer install
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement