Laravel 5.2 Fatal error:vendor/composer/autoload_real.php on line 66

This error means some packages are missing, as I see you didn't run composer install, this means the required packages are not installed.

To solve it just go to the root of your project and run on the command line:

composer install

If the other solutions do not work, you can try:

1- Delete Composer Folder (vendor/composer)

2- Delete Autoload.php (vendor/autoload.php)

Then, write on the console:

3- Composer Install.

4- Composer Update.

5- And run server.

I hope this can help you.

Bye.


For me, only "composer install" doesn't' work. After googling I find out a solution which is given below

composer update --no-scripts 

and then

composer update

It's worked for me.