其他分享
首页 > 其他分享> > composer安装

composer安装

作者:互联网

1.下载

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

 

2.配置全局composer 

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

 

3.切换国内源

  composer config -g repo.packagist composer https://packagist.phpcomposer.com

 

4.使用composer更新项目框架

  composer update

标签:composer,getcomposer,phpcomposer,https,packagist,installer,安装
来源: https://www.cnblogs.com/zuikeol/p/11713214.html