Composer 镜像使用帮助
切换镜像指向:
composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/
Composer 安装简明教程:
一、下载安装脚本,如下方式任选一种即可:
1、php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" 2、curl -sS https://install.phpcomposer.com/installer | php
二、执行安装:
php composer-setup.php
三、完成安装:
mv composer.phar /usr/local/bin/composer
以上是安装Composer的简明教程的详细内容。更多信息请关注PHP中文网其他相关文章!