linux composer update code example
Example 1: upgrade composer version
composer self-update
Example 2: update packages composer global
composer global update
Example 3: where do you install composer
// Adding permissions after installing Composer on Mac OSX
sudo chmod 755 /usr/local/bin/composer.phar