composer.phar self-update --2 升级composer到2.0
composer diagnose 检测composer功能是否正常
composer show -i 查看全部包版本号和功能
composer update 升级所有包