当前位置:网站首页>composer的源切换
composer的源切换
2022-04-21 20:06:00 【weixin_43224306】
composer的源切换:
//composer的源切换为 国际的源
composer config -g repo.packagist composer https://packagist.org
//composer国际源切换为中国镜像
composer config -g repo.packagist composer https://packagist.phpcomposer.com
项目的 composer.json 配置文件:
注意:为了避免安装包的时候都要执行两次查询,切记要添加禁用 packagist 的设置,如下:
{
“repositories”: [
{“type”: “composer”, “url”: “http://packagist.phpcomposer.com”},
{“packagist”: false}
]
版权声明
本文为[weixin_43224306]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43224306/article/details/105088376
边栏推荐
- Install mysql, MSSQL, Oracle, mongdb and redis collections in docker
- Three implementation methods of quick sorting
- Esaycode template
- 表面点云法线
- Instructions for Jerry's reset IO maintenance level [chapter]
- Cuda02 - memory access optimization and unified memory
- Meaning of stripe in image
- Is it safe for Bohai futures to open an account? What is the opening method of Bohai futures company?
- 【转】FC(红白机)游戏nes文件的汉化技术
- Collection of knowledge points
猜你喜欢

Discussion on the hot and cold issues of open source license grounding gas

Digital business cloud community property platform system solution - easy property management and leveraging potential business opportunities

getchar,putchar,EOF

Surface point cloud normal

SAP PS section 12 network cost plan

Ali IOT

MySQL view (detailed explanation)

Meaning of stripe in image

Your independent station conversion rate is low? Three tips to help improve conversion

MySQL 2003 can't connect to MySQL server on 'localhost' (10038)
随机推荐
Solution of "unable to load and save data" in Eldon law ring
C# 版本的 計時器類 精確到微秒 秒後保留一比特小數 支持年月日時分秒帶單比特的輸出
Dolphin DB vscode plug-in tutorial
MySQL 2003 can't connect to MySQL server on 'localhost' (10038)
Solution to flash back after MySQL enters password
webrtc入门:3.使用enumerateDevices获取设备中可用的流媒体
The timer class of version C is accurate to microseconds and retains one decimal place after seconds. It supports the output of year, month, day, hour, minute and second with units
GBase 8a对 double 数值进行 round 取舍结果不是四舍五入问题分析及解决方案
在IE和Edge中用JS判断只能输入数字,字母,日期型。
How to restore the deleted photos? Four schemes, which is the official guide
Fiddler's solution to the failure of capturing PC wechat applet
First acquaintance with EEMBC coremark
StopWatch
SAP PS section 12 network cost plan
glew, glee与 gl glu glut glx glext的区别和关系
【verbs】使用ibverbs api注意事项|libibverbs 中 fork() 支持的状态如何?
There is a problem with CORS cross domain request
Built in annotation explanation
【转】SSE2 SSE简介和C代码示例
浅谈多核CPU、多线程与并行计算