composer global update fxp/composer-asset-plugin --no-plugins
composer global require "fxp/composer-asset-plugin:^ 1.2.0"
D:\wamp\www\www.magento.com>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - This package requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 but your PHP version ( 5.5.12) does not satisfy that requirement. Problem 2 - Installation request for zendframework/zend-captcha 2.7.1 -> satisfiable b y zendframework/zend-captcha[2.7.1]. - zendframework/zend-captcha 2.7.1 requires php ^5.6 || ^7.0 -> your PHP ver sion (5.5.12) does not satisfy that requirement. Problem 3 - Installation request for zendframework/zend-code 3.1.0 -> satisfiable by z endframework/zend-code[3.1.0]. - zendframework/zend-code 3.1.0 requires php ^5.6 || 7.0.0 - 7.0.4 || ^7.0.6 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 4 - Installation request for zendframework/zend-form 2.10.1 -> satisfiable by zendframework/zend-form[2.10.1]. - zendframework/zend-form 2.10.1 requires php ^7.0 || ^5.6 -> your PHP versi on (5.5.12) does not satisfy that requirement. Problem 5 - Installation request for zendframework/zend-log 2.9.1 -> satisfiable by ze ndframework/zend-log[2.9.1]. - zendframework/zend-log 2.9.1 requires php ^5.6 || ^7.0 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 6 - Installation request for zendframework/zend-serializer 2.8.0 -> satisfiabl e by zendframework/zend-serializer[2.8.0]. - zendframework/zend-serializer 2.8.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 7 - Installation request for zendframework/zend-server 2.7.0 -> satisfiable by zendframework/zend-server[2.7.0]. - zendframework/zend-server 2.7.0 requires php ^5.6 || ^7.0 -> your PHP vers ion (5.5.12) does not satisfy that requirement. Problem 8 - Installation request for zendframework/zend-validator 2.9.0 -> satisfiable by zendframework/zend-validator[2.9.0]. - zendframework/zend-validator 2.9.0 requires php ^5.6 || ^7.0 -> your PHP v ersion (5.5.12) does not satisfy that requirement. Problem 9 - Installation request for zendframework/zend-view 2.9.0 -> satisfiable by z endframework/zend-view[2.9.0]. - zendframework/zend-view 2.9.0 requires php ^5.6 || ^7.0 -> your PHP versio n (5.5.12) does not satisfy that requirement. Problem 10 - zendframework/zend-code 3.1.0 requires php ^5.6 || 7.0.0 - 7.0.4 || ^7.0.6 -> your PHP version (5.5.12) does not satisfy that requirement. - zendframework/zend-di 2.6.1 requires zendframework/zend-code ^2.6 || ^3.0 -> satisfiable by zendframework/zend-code[3.1.0]. - Installation request for zendframework/zend-di 2.6.1 -> satisfiable by zen dframework/zend-di[2.6.1]. D:\wamp\www\www.magento.com>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - This package requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 but your PHP version ( 5.5.12) does not satisfy that requirement. Problem 2 - Installation request for zendframework/zend-captcha 2.7.1 -> satisfiable b y zendframework/zend-captcha[2.7.1]. - zendframework/zend-captcha 2.7.1 requires php ^5.6 || ^7.0 -> your PHP ver sion (5.5.12) does not satisfy that requirement. Problem 3 - Installation request for zendframework/zend-code 3.1.0 -> satisfiable by z endframework/zend-code[3.1.0]. - zendframework/zend-code 3.1.0 requires php ^5.6 || 7.0.0 - 7.0.4 || ^7.0.6 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 4 - Installation request for zendframework/zend-form 2.10.1 -> satisfiable by zendframework/zend-form[2.10.1]. - zendframework/zend-form 2.10.1 requires php ^7.0 || ^5.6 -> your PHP versi on (5.5.12) does not satisfy that requirement. Problem 5 - Installation request for zendframework/zend-log 2.9.1 -> satisfiable by ze ndframework/zend-log[2.9.1]. - zendframework/zend-log 2.9.1 requires php ^5.6 || ^7.0 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 6 - Installation request for zendframework/zend-serializer 2.8.0 -> satisfiabl e by zendframework/zend-serializer[2.8.0]. - zendframework/zend-serializer 2.8.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.12) does not satisfy that requirement. Problem 7 - Installation request for zendframework/zend-server 2.7.0 -> satisfiable by zendframework/zend-server[2.7.0]. - zendframework/zend-server 2.7.0 requires php ^5.6 || ^7.0 -> your PHP vers ion (5.5.12) does not satisfy that requirement. Problem 8 - Installation request for zendframework/zend-validator 2.9.0 -> satisfiable by zendframework/zend-validator[2.9.0]. - zendframework/zend-validator 2.9.0 requires php ^5.6 || ^7.0 -> your PHP v ersion (5.5.12) does not satisfy that requirement. Problem 9 - Installation request for zendframework/zend-view 2.9.0 -> satisfiable by z endframework/zend-view[2.9.0]. - zendframework/zend-view 2.9.0 requires php ^5.6 || ^7.0 -> your PHP versio n (5.5.12) does not satisfy that requirement. Problem 10 - zendframework/zend-code 3.1.0 requires php ^5.6 || 7.0.0 - 7.0.4 || ^7.0.6 -> your PHP version (5.5.12) does not satisfy that requirement. - zendframework/zend-di 2.6.1 requires zendframework/zend-code ^2.6 || ^3.0 -> satisfiable by zendframework/zend-code[3.1.0]. - Installation request for zendframework/zend-di 2.6.1 -> satisfiable by zen dframework/zend-di[2.6.1].
提示我的PHP 7版本太低,不符合composer.json需要的版本,但是在PHP 7下应该也是可以运行的,composer可以设置忽略版本匹配,命令是:
composer install --ignore-platform-reqs