how to update composer version code example
Example 1: upgrade composer version
composer self-update
Example 2: update composer mac
#mac
composer self-update
Example 3: update packages composer global
composer global update
Example 4: php composer update
php composer.phar update