在用composer安装Yii2的扩展插件时,报错:
[UnexpectedValueException] Could not parse version constraint <=2.*: Invalid version string "2.*"先执行composer self-update 然后执行composer update或composer global update
[UnexpectedValueException] Could not parse version constraint <=2.*: Invalid version string "2.*"
composer 无法更新
原文:http://www.cnblogs.com/sevenzhou/p/4796796.html