打开composer.json文件
把
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.laravel-china.org"
}
替换为
"url": "https://mirrors.aliyun.com/composer/"
马上解决