以下命令即可安装Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
以后只需到程序目录运行 Composer 命令即可,例如: composer install
以下命令即可安装Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
以后只需到程序目录运行 Composer 命令即可,例如: composer install