how to update php composer code example
Example 1: upgrade composer version
composer self-update
Example 2: composer install without dependencies
composer install --ignore-platform-reqs
Example 3: php composer update
php composer.phar update
composer self-update
composer install --ignore-platform-reqs
php composer.phar update