安装Composer
# 下载composer.phar
curl -sS https://getcomposer.org/installer | php
# 把composer.phar移动到环境下让其变成可执行
mv composer.phar /usr/local/bin/composer
# 测试
composer -V
# 输出:Composer version 1.0-dev (e64470c987fdd6bff03b85eed823eb4b865a4152) 2015-05-28 14:52:12
转载请注明:苏demo的别样人生 » CentOS下Composer的安装和使用