安装 sonata-project/user-bundle symfony 3.3 lts
Installation sonata-project/user-bundle symfony 3.3 lts
我通过 'symfony new' 创建了 symfony 应用程序并获得了 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 不支持用户包?这种情况的最佳解决方案是什么?
您必须使用仍在开发中的 SonataUserBundle 的 4.x 分支(但是已经非常稳定)。释放可能是 available late 2017 :
"sonata-project/user-bundle": "dev-master",
有关 packagist 依赖项的更多信息:https://packagist.org/packages/sonata-project/user-bundle
我通过 'symfony new' 创建了 symfony 应用程序并获得了 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 不支持用户包?这种情况的最佳解决方案是什么?
您必须使用仍在开发中的 SonataUserBundle 的 4.x 分支(但是已经非常稳定)。释放可能是 available late 2017 :
"sonata-project/user-bundle": "dev-master",
有关 packagist 依赖项的更多信息:https://packagist.org/packages/sonata-project/user-bundle