composer.json fails to resolve installable set of package

后端 未结 3 1390
春和景丽
春和景丽 2021-01-01 06:17

I can\'t install stof/doctrine-extensions-bundle with my Composer. I\'m using Symfony2.1.9 version and a lot of problems are shown. The first one is:

3条回答
  •  离开以前
    2021-01-01 07:10

    As the 1.1.x branch of the stof/doctrine-extensions-bundle is still only available as dev. So you have to declare it as a dev dependency in composer. Simply:

    "stof/doctrine-extensions-bundle": "1.1.*@dev"
    

    Next time take a look at packagist, which versions are available of a desired bundle.

    EDIT: And yes, tested this requirement in a fresh symfony install and it works. So if you have errors, edit the complete error message in your question!

提交回复
热议问题