- 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
- - Installation request for arcanedev/support 3.17.0 -> satisfiable by arcanedev/support[3.17.0].
- - arcanedev/support 3.17.0 requires php >=5.6 -> your PHP version (5.5.12) does not satisfy that requirement.
- Problem 2
- - Installation request for laravelista/ekko 1.2.3 -> satisfiable by laravelista/ekko[1.2.3].
- - laravelista/ekko 1.2.3 requires php >=5.6.0 -> your PHP version (5.5.12) does not satisfy that requirement.
- Problem 3
- - Installation request for league/flysystem 1.1.x-dev -> satisfiable by league/flysystem[1.1.x-dev].
- - league/flysystem 1.1.x-dev requires php >=5.6.0 -> your PHP version (5.5.12) does not satisfy that requirement.
- Problem 4
- - Installation request for league/flysystem dev-master -> satisfiable by league/flysystem[dev-master].
- - league/flysystem dev-master requires php >=5.6.0 -> your PHP version (5.5.12) does not satisfy that requirement.
- Problem 5
- - league/flysystem 1.1.x-dev requires php >=5.6.0 -> your PHP version (5.5.12) does not satisfy that requirement.
- - laravel/framework 5.2.x-dev requires league/flysystem ~1.0 -> satisfiable by league/flysystem[1.1.x-dev].
- - Installation request for laravel/framework 5.2.x-dev -> satisfiable by laravel/framework[5.2.x-dev].
復(fù)制代碼
提示我的PHP 7版本太高,不符合composer.json需要的版本,但是在PHP 7下應(yīng)該也是可以運(yùn)行的,composer可以設(shè)置忽略版本匹配,命令是:- composer install --ignore-platform-reqs
- or
- composer update --ignore-platform-reqs
復(fù)制代碼
再次執(zhí)行composer命令可以正常安裝包了。- composer config -g repo.packagist composer https://packagist.phpcomposer.com
復(fù)制代碼
聯(lián)系客服