正常来说,composer更新慢是因为国内墙的问题,所以需要把镜像替换成国内
composer config repo.packagist composer https://packagist.phpcomposer.com这样一来绝对飞快