how to install composer package with version code example
Example 1: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2
Example 2: php composer update
php composer.phar update
Example 3: composer add package
composer require name-of-package
Example 4: where do you install composer
// Adding permissions after installing Composer on Mac OSX
sudo chmod 755 /usr/local/bin/composer.phar