Tom West
Tom West

Reputation: 417

How to install vendor folder

I cloned project from https://github.com/victorfleite/blog-php-oop archived .

But how to create vendor folder and install any dependency?

Upvotes: 27

Views: 109979

Answers (3)

  1. Go to cmd or terminal
  2. Make sure you are in the right path (project folder directory)
  3. use cd project_name to go inside the folder and cd .. to go back up out of the folder
  4. In the terminal use the command composer install (if you need to install composer itself, see their official website)
  5. Your vendor folder is installed
  6. In the terminal type php artisan migrate and run the project

Upvotes: 0

Farshad Badri
Farshad Badri

Reputation: 1

Go to your Project root directory where composer.json is located with opening a command prompt and using this commands :

  1. make sure Your lock file contain a compatible set of packages with running composer update command

  2. after that you can make sure all the packages are installed with composer install command

  3. you can find more packages with composer fund command

Upvotes: 0

Rafał Myszyński
Rafał Myszyński

Reputation: 491

Just use command composer install in command line (from same directory where composer.json is located). If you don't have an installed composer yet, first install it.

https://getcomposer.org/download/

Upvotes: 44

Related Questions