composer upgrade version code example
Example 1: upgrade composer version
composer self-update
Example 2: update composer php version
php7.3 -f /usr/local/bin/composer update
Example 3: composer update
php composer.phar update
composer self-update
php7.3 -f /usr/local/bin/composer update
php composer.phar update