Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install vendor folder

Tags:

composer-php

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

But how to create vendor folder and install any dependency?

like image 688
Tom West Avatar asked Jun 16 '18 14:06

Tom West


People also ask

What is vendor folder in PHP?

The vendor is a subfolder in the Laravel root directory. It includes the Composer dependencies in the file autoload. php. Composer is a PHP based tool for dependency management. As a Laravel project works with many libraries, it requires the Composer for dependency management.

What is Drupal 8 vendor folder?

The vendor folder contains most of the libraries that Composer manages for your project. Drupal core, modules, themes and profiles however are saved to other locations (to be discussed in the next section).

What is vendor directory?

The vendor folder is where you usually (I'm using the word 'usually' because it's not exactly a rule but more of a preference in the coding community with the purpose of having a semantic directory structure) keep third-party resources(icons, images, codes, you name it) as opposed to a lib (library) folder where you or ...


1 Answers

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/

like image 176
Rafał Nowak Avatar answered Oct 08 '22 05:10

Rafał Nowak