如何去除guzzle / guzzle包装?

时间:2017-07-31 20:54:23

标签: json composer-php guzzle omnipay guzzlehttp

我需要为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包的作曲家存储库?

提前致谢。

1 个答案:

答案 0 :(得分:1)

问题解决了。

原因:

联盟/ flysystem-rackspace需要guzzle / guzzle包(已弃用)。

因此我们应该删除此包。

composer remove league/flysystem-rackspace