解決辦法:先用 composer diagnose 命令檢測composer
而後 composer self-update 更新composer版本阿里雲
最後執行 composer update 或者 composer installdate
composer 切換阿里雲鏡像 用起來還快di
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/co