如何解决与您的 root composer.json require 冲突的问题?
How to solve problem conflicts with your root composer.json require?
当我想使用 composer require srmklive/paypal composer install srmklive/paypal 时,我收到类似 belok 的错误:
Problem 1
- srmklive/paypal[v3.0, ..., 3.0.10] require guzzlehttp/guzzle ~7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.4.1] but it conflicts with your root composer.json require (^6.3).
- Root composer.json requires srmklive/paypal ^3.0 -> satisfiable by srmklive/paypal[v3.0, ..., 3.0.10].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
有谁知道怎么解决的吗?
composer.json
的变化
"guzzlehttp/guzzle": "^6.3|^7.0.1",
然后更新作曲家
当我想使用 composer require srmklive/paypal composer install srmklive/paypal 时,我收到类似 belok 的错误:
Problem 1
- srmklive/paypal[v3.0, ..., 3.0.10] require guzzlehttp/guzzle ~7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.4.1] but it conflicts with your root composer.json require (^6.3).
- Root composer.json requires srmklive/paypal ^3.0 -> satisfiable by srmklive/paypal[v3.0, ..., 3.0.10].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
有谁知道怎么解决的吗?
composer.json
的变化"guzzlehttp/guzzle": "^6.3|^7.0.1",
然后更新作曲家