allows you to declare the libraries your project depends on and it will manage (install/update) them for you.” https://getcomposer.org/ https://packagist.org/
composer install • installs everything if .lock file doesn’t exist, writes .lock file. • subsequently, brings everything up to date with what’s in the .lock file. • composer update • brings everything in your .json up to date, and updates the .lock file. • Always run composer install on the server. • Composer sees that .json and .lock match, installs everything. • This can be confusing. Read all about it on http://daylerees.com/ composer-primer/ and https://adamcod.es/2013/03/07/composer- install-vs-composer-update.html