Since packagist change due to an error. E.g:
You can change it in the composer.json
"packagist": {
"type": "composer",
"url": "https://packagist.phpcomposer.com"
}
修改成
"packagist": {
"type": "composer",
"url": "https://packagist.laravel-china.org"
}
Original: https: //blog.csdn.net/kangsf1989/article/details/82969407