Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accidentally removed vendor folder in laravel project

I was working with a laravel project and, accidentally, removed vendor folder.

What should I do? Create a new project and copy it or download it anywhere else?

I had no additional composer dependencies installed.

like image 986
Luiz Avatar asked Sep 21 '16 20:09

Luiz


2 Answers

Just run composer install after cding into the Laravel project's directory.

like image 175
Dmitry Malyshenko Avatar answered Oct 23 '22 10:10

Dmitry Malyshenko


The Vendor folder is created by running composer install. It contains only the packages which you have asked composer to track in the composer.json file. If you have a composer.phar file in the root of your application run php composer.phar install.

https://getcomposer.org/doc/00-intro.md is probably your best source for additional information.

like image 36
mrios16 Avatar answered Oct 23 '22 09:10

mrios16