我的作曲家.json:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.6.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~3.0",
"sensio/framework-extra-bundle": "~3.0",
"incenteev/composer-parameter-handler": "~2.0",
"gedmo/doctrine-extensions": "dev-master",
"stof/doctrine-extensions-bundle": "dev-master",
在作曲家更新/安装(都尝试过)之后,我得到了那种错误
“stof/doctrine-extensions-bundle v1.1.0 需要 gedmo/doctrine-extensions 2.3.* -> 找不到匹配的包”
(图片上传)。我删除了所需的存储,然后一切正常。在我所有的项目中都得到了它(~~ 15 个完全在存储中)。