php composer.phar global require "fxp/composer-asset-plugin:~1.0.0"
Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks() in /root/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 272
composer global require "fxp/composer-asset-plugin:~1.0.3"
Your requirements could not be resolved to an installable set of packages.
Problem 1
The requested package fxp/composer-asset-plugin could not be found in any version, there may be a typo in the package name.
Potential causes:
A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
之前写过,有兴趣就看看:http://segmentfault.com/a/1190000003047525