1 安装 composer

     

curl -sS https://getcomposer.org/installer | php

  

     

    2 添加到环境变量

     

mv composer.phar  /usr/local/bin/composer

  

   ln -s /usr/local/php  /usr/local/bin/php

  

posted on 2017-01-17 11:46  ヽ坚强的蘑菇  阅读(2804)  评论(0编辑  收藏  举报