我正在使用简单的Symfony 3.4项目PHP 7.2,这是我的作曲家文件:
"guzzlehttp/guzzle": "^6.3",
"php-http/guzzle6-adapter": "^2.0",
"php-http/httplug-bundle": "^1.1",
我正在尝试使用以下命令安装https://github.com/SparkPost/php-sparkpost中提到的Sparkpost:
composer require sparkpost/sparkpost
我收到错误消息:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for sparkpost/sparkpost ^2.1 -> satisfiable by sparkpost/sparkpost[2.1.0].
- Conclusion: remove php-http/httplug v2.0.0
- Conclusion: don't install php-http/httplug v2.0.0
- sparkpost/sparkpost 2.1.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
- Can only install one of: php-http/httplug[v1.0.0, v2.0.0].
- Can only install one of: php-http/httplug[v1.1.0, v2.0.0].
- Installation request for php-http/httplug (locked at v2.0.0) -> satisfiable by php-http/httplug[v2.0.0].
我不知道我在做什么错。我已经尝试删除供应商目录和composer.lock,但是它没有帮助,仍然出现相同的错误。