Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mahesh's avatar

vendor/autoload.php not found

I am getting the following error.

bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\login\bootstrap\autoload.php

Thanx in advance

0 likes
3 replies
Mahesh's avatar

Got it forgot to run composer update..

shiny's avatar

How do you run composer update? And why is this even required?

1 like
wallacebmann's avatar

Excellent question!

In my case, even after I realized composer update was necessary, I had trouble finding out where to run it. I had been (more or less) blindly following the steps in the "Full-Stack Vue.js 2 and Laravel 5" course when it failed at the "php artisan --version" command with "Failed opening required "/home/vagrant/projects/vuebnb/vendor/autoload.php".

I didn't have php, composer or anything installed on my computer (macbook pro), so I had to execute "composer update" inside the vagrant shell, and I had to be in the ~/projects/vuebnb directory.

I know this doesn't add to the answer ... just putting in text so that future explorers might find this answer page easier.

1 like

Please or to participate in this conversation.