我在composer.json中有这个:
"require" : {
"php" : ">=5.3.3",
"symfony/symfony" : "~2.3",
"doctrine/orm" : "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "v1.2.0",
"twig/extensions" : "~1.0",
"symfony/assetic-bundle" : "~2.3",
"symfony/swiftmailer-bundle" : "~2.3",
"symfony/monolog-bundle" : "~2.3",
"sensio/distribution-bundle" : "~2.3",
"sensio/framework-extra-bundle" : "~2.3",
"sensio/generator-bundle" : "~2.3",
"incenteev/composer-parameter-handler" : "~2.0",
"symfony/console" : "2.3.*@dev",
"symfony/console": "v2.3.11",
"symfony/console" : "2.3.*@dev",
"symfony/console": "v2.3.11",
"guzzle/guzzle": "3.9.2",
"guzzlehttp/guzzle": "5.0.3",
"PHPOffice/PHPExcel": "1.8.*"
},
当我尝试安装供应商时,它会告诉我
Problem 1
- Installation request for symfony/framework-standard-edition 2.3.x-dev -> satisfiable by symfony/framework-standard-edition[2.3.x-dev].
- symfony/framework-standard-edition 2.3.x-dev requires guzzle/guzzle 3.9.2 -> no matching package found.
任何想法?感谢。
答案 0 :(得分:1)
这是使用Symfony 2.5.6的Guzzle的一个有效的作曲家设置:
"symfony/symfony": "2.5.6",
...
"guzzle/batch": "~3.7",
"guzzle/service": "~3.7",
"guzzle/plugin": "~3.7",
"guzzle/log": "~3.7",