【发布时间】:2018-01-07 13:41:19
【问题描述】:
我需要为 laravel 安装 omnipay 包。
composer require ignited/laravel-omnipay
在安装包的过程中收到错误:
您的需求无法解析为一组可安装的软件包。
列出一个问题:
Problem 1
- Installation request for ignited/laravel-omnipay ^2.3 -> satisfiable by ignited/laravel-omnipay[2.3.0].
- Conclusion: remove guzzle/guzzle v3.8.1
- Conclusion: don't install guzzle/guzzle v3.8.1
- ignited/laravel-omnipay 2.3.0 requires omnipay/common 2.5.* -> satisfiable by omnipay/common[2.5.2, v2.5.0, v2.5.1].
- omnipay/common 2.5.2 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
- omnipay/common v2.5.0 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
- omnipay/common v2.5.1 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
- Can only install one of: guzzle/guzzle[v3.9.0, v3.8.1].
- Can only install one of: guzzle/guzzle[v3.9.1, v3.8.1].
- Can only install one of: guzzle/guzzle[v3.9.2, v3.8.1].
- Can only install one of: guzzle/guzzle[v3.9.3, v3.8.1].
- Installation request for guzzle/guzzle (locked at v3.8.1) -> satisfiable by guzzle/guzzle[v3.8.1].
然后 composer.json 恢复:
安装失败,正在将 ./composer.json 还原为其原始内容。
如何删除烦人的包?
我已经尝试过删除它:
composer remove guzzle/guzzle
但没有成功,当然我安装了 guzzlehttp/guzzle 包而不是 guzzle/guzzle。
如何清除我的 guzzle/guzzle 包的作曲家存储库?
提前致谢。
【问题讨论】:
标签: json composer-php omnipay guzzle