The
install
command reads the
composer.json
file from the current directory, resolves the dependencies, and installs them into
vendor
composer install  /  composer i
If
composer.lock
file exists, installs exactly what's specified in this file Otherwise 1. Reads
composer.json
file to look out what dependencies needs to be installed 2. Writes the composer.lock with the information of the project (installed dependencies)
by Valeri Tandilashvili
4 years ago
Composer
Composer official doc
1
Pro tip: use ```triple backticks around text``` to write in code fences