首页 > 其他分享> > curl error 60 while downloading https://packagist.laravel-china.org/packages.json: Peer‘s Certifica
curl error 60 while downloading https://packagist.laravel-china.org/packages.json: Peer‘s Certifica
作者:互联网
composer update时报错
[Composer\Downloader\TransportException]
curl error 60 while downloading https://packagist.laravel-china.org/packages.json: Peer's Certificate has expired.
很简单,打开composer.json文件
把
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.laravel-china.org"
}
}
替换为
"repositories": {
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
}
}
马上解决
标签:laravel,downloading,composer,json,china,https,packagist,org 来源: https://blog.csdn.net/chendongpu/article/details/115032694