ubuntu 16.04 composer安装

前端之家收集整理的这篇文章主要介绍了ubuntu 16.04 composer安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

sudo apt install composer

执行composer update 报错 查看composer.json "PHPunit/PHPunit": "~5.7"

PHPunit 没有安装


解决办法:

sudo apt-get install PHPunit

composer.json "PHPunit/PHPunit": "~5.7"

改成:"*"

====================================================================

sudo curl -sS https://getcomposer.org/installer | sudo PHP -d detect_unicode=Off

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

sudo chmod a+x composer

sudo composer self-update

sudo composer config -g repo.packagist composer https://packagist.PHPcomposer.com

http://www.PHPcomposer.com/

http://docs.PHPcomposer.com/00-intro.html#Downloading-the-Composer-Executable

原文链接:https://www.f2er.com/ubuntu/353509.html

猜你在找的Ubuntu相关文章