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

xowy's avatar
Level 1

Laravel Vendor Folder Almost 1.5gb on fresh project

Im on windows 11, everytime I create a new laravel 9 or 10 project, The vendor folder have almost 2gb size. Inside the vendor folder there is a Sebastian folder that have almost 1gb of size.

I created the project via: composer create-project laravel/laravel:^9.0 my-app

Is this normal or there might be wrong on my installation? I tried to reinstall composer but it still the vendor folder have almost 2gb size.

0 likes
5 replies
jlrdw's avatar

Mine is 26 MB, are you pulling in a bunch of packages that's not needed?

xowy's avatar
Level 1

@jlrdw No i just do (composer create-project laravel/laravel:^9.0 my-app) on cmd and the fresh app it creates have almost 2gb.

xowy's avatar
Level 1

I fixed it by reinstalling everything again. Thanks

manoaratefy's avatar

@xowy I'm happy you solved your issue, however I'll let you know another method that doesn't require reinstallation. Thevendor directory contains all packages defined on composer.json file. You can safely delete the vendor folder, and run again composer install inside your Laravel project's folder to re-download all packages.

Please or to participate in this conversation.