composer更新项目

全局配置:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

先将Composer版本升级到最新:
composer self-update

执行诊断命令:
composer diagnose

清除缓存:
composer clear

更新项目:
composer update

你可能感兴趣的:(其他,composer,php)