centos composer 设置中国镜像
设置composer中国镜像
composer config -gl
composer config -g repo.packagist composer https://packagist.phpcomposer.com
其实我一直在你身边
设置composer中国镜像
composer config -gl
composer config -g repo.packagist composer https://packagist.phpcomposer.com
安装 Composer,你只需要下载 composer.phar 可执行文件。
curl -sS https://getcomposer.org/installer | php
[root@yidutest test.exun.com]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
Release: 7.4.1708
Codename: Core