验证码扩展不能安装,版本依赖问题
➜ bbs.sdc-dev.top git:(develop) ✗ composer require "mews/captcha"
Using version ^3.2 for mews/captcha
./composer.json has been updated
Running composer update mews/captcha
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mews/captcha[3.2.0, ..., 3.2.6] require intervention/image ~2.5 -> satisfiable by intervention/image[2.5.0, 2.5.1].
- intervention/image[2.5.0, ..., 2.5.1] require guzzlehttp/psr7 ~1.1 -> found guzzlehttp/psr7[1.1.0, ..., 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires mews/captcha ^3.2 -> satisfiable by mews/captcha[3.2.0, ..., 3.2.6].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
推荐文章: