1.安装composer
1
2
3
|
curl -sS https:
//getcomposer
.org
/installer
| php
mv
composer.phar
/usr/local/bin/composer
composer -V
|
常见报错
composer update报错
1
|
1.12.*@stable -> no matching package found
|
在这个网站下https://packagist.org/packages/fxp/composer-asset-plugin可以看到
composer-asset-plugin的最新版本, 然后执行
1
|
composer global require
"fxp/composer-asset-plugin:~1.4.1"
|
本文转自 shouhou2581314 51CTO博客,原文链接:http://blog.51cto.com/thedream/1971588,如需转载请自行联系原作者