首先改镜像
composer config -g repo.packagist composer https://packagist.composer-proxy.org
composer config -g repo.packagist composer https://p.staticq.com
composer config -g repo.packagist composer https://packagist.phpcomposer.com
清除缓存
composer clearcache
composer.json加入以下内容
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.phpcomposer.com"
}
}
image.png
可以飞了
本人有份laravel5.8教学课程,需要的同学可以关注公众号:小贝壳的资源库恢复laravel获取
image
网友评论