updating my composer to 2 code example
Example 1: upgrade composer version
composer self-update
Example 2: composer install without dependencies
composer install --ignore-platform-reqs
composer self-update
composer install --ignore-platform-reqs