首页 > PHP
composer报错curl error 60 while downloading https://
来源:TP课堂 时间:2023-06-14 点击:4066

打开composer.json文件


"repositories": {

        "packagist": {

            "type": "composer",

            "url": "https://packagist.laravel-china.org"

        }

    }


替换为


"repositories": {

        "packagist": {

            "type": "composer",

            "url": "https://mirrors.aliyun.com/composer/"

        }

    }

马上解决