安装sonata-project / user-bundle symfony 3.3 lts

时间:2017-11-07 08:40:44

标签: symfony sonata-user-bundle

我通过'symfony new'创建symfony app并获得symfony 3.3 之后通过作曲家安装了“sonata admin”和“Sonata doctrine orm admin” 一切都好。管理员骨架正在运作。 但是当我运行“composer require sonata-project / user-bundle”时,我对symfony / form有版本冲突 Problem 1 - Installation request for sonata-project/user-bundle ^3.5 -> satisfiable by sonata-project/user-bundle[3.5.0]. - Conclusion: remove symfony/symfony v3.3.10 - Conclusion: don't install symfony/symfony v3.3.10 - sonata-project/user-bundle 3.5.0 requires symfony/form ^2.8 -> satisfiable by symfony/form[v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9]. - don't install symfony/form v2.8.0|don't install symfony/symfony v3.3.10 ... - don't install symfony/form v2.8.9|don't install symfony/symfony v3.3.10 - Installation request for symfony/symfony (locked at v3.3.10, required as 3.3.*) -> satisfiable by symfony/symfony[v3.3.10].

symfony lts不支持用户捆绑包?这种情况的最佳解决方案是什么?

1 个答案:

答案 0 :(得分:0)

你必须使用SonataUserBundle的4.x分支,它仍在开发中(但已经相当稳定)。重新发布可能是available late 2017

  

" sonata-project / user-bundle":" dev-master",

有关packagist依赖关系的更多信息:https://packagist.org/packages/sonata-project/user-bundle