composer 如何配置中国镜像?(解决没有VPN)
全局配置 (只要本系统上都可以使用中国镜像)
composer config -g repo.packagist composer https://packagist.phpcomposer.com
config.json位置:C:UsersXXXAppDataRoamingComposerconfig.json
局部配置 (只能在某项目中使用中国镜像)
composer config repo.packagist composer https://packagist.phpcomposer.com
以上就是composer配置中国镜像(解决没有VPN)的详细内容,更多请关注群英网络其它相关文章!
Copyright © QY Network Company Ltd. All Rights Reserved. 2003-2018 群英 版权所有 茂名市群英网络有限公司
增值电信经营许可证 : B1.B2-20140078 粤ICP备09006778号-36 粤公网安备 44090202000006号 粤工商备P091701000595