【发布时间】:2022-01-12 04:41:25
【问题描述】:
当我想使用 composer require srmklive/paypal 来作曲家安装 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吗?