更新conposer
composer selfupdate
如图所示:
回到之前版本:执行--rollback就能回到更新之前的版本
conposer提示:
Content-Length mismatch, received 43508 bytes out of the expected 1002786
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
执行:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
取消配置:composer config -g --unset repos.packagist