Php – Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

laravel-5PHP

I have recently installed Laravel 5 via composer. I tried creating a new controller using artisan and I get the following error:

bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The "vendor" folder does not exist.

Am I missing something?

Best Answer

Run composer with --no-scripts

composer update --no-scripts  

This shall fix the issue. I tried this on Mac and Linux.

Related Question