composer切换中国镜像

替换 composer.lock 文件中的 https://files.phpcomposer.com/files/ 为 https://dl.laravel-china.org

命令行 composer config -g repo.packagist composer https://packagist.laravel-china.org

posted @ 2019-03-26 14:13  Ares0023  阅读(454)  评论(0编辑  收藏  举报