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

davy_yg's avatar
Level 27

update vendor folder

Hello,

I wonder why there is no autoload.php in my laravel vendor folder?

Do I need to update the vendor folder to make it exist?

How to do so?

0 likes
3 replies
Snapey's avatar

composer dump-autoload re-generates the autoloader in the vendor\composer folder

davy_yg's avatar
Level 27

I did so and get another error:

Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\settlement2\bootstrap\app.php:14 Stack trace: #0 C:\xampp\htdocs\settlement2\public\index.php(38): require_once() #1 {main} thrown in C:\xampp\htdocs\settlement2\bootstrap\app.php on line 14

Snapey's avatar
Snapey
Best Answer
Level 122

Try running composer install

Have you done something unusual to the vendor folder?

Please or to participate in this conversation.