2

安装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

安装成功啦


YPHP
967 声望77 粉丝

免费好用的素材站:[链接]