git clone https://github.com/orderLee/composer.git
a-2. 移动:
将win下的文件移动到php所在目录
b. linux:
b-1. 下载:
git clone https://github.com/orderLee/composer.git
mv composer/linux/composer /bin/
c. 修改composer的镜像为国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
d. 诊断:
composer diagnose
d. 添加pubkey:
地址:https://composer.github.io/pubkeys.html
composer self-update --update-keys
composer update
d. 删除:
composer remove orderlee/orderlee
e. 搭建框架:
composer create-project orderlee/orderlee
f. 取消设置的镜像:
composer config -g --unset repos.packagist
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。