gpt4 book ai didi

sonata-admin - 奏鸣曲用户包 + Symfony 3.x

转载 作者:行者123 更新时间:2023-12-04 04:37:36 25 4
gpt4 key购买 nike

我在 dev-master 上使用 Symfony 3.0.6、Sontata Admin Bundle 3.0.0 和 Doctrine ORM Admin Bundle。即使使用 dev-master,用户包也不起作用。 Symfony 3.x 有解决方案吗?

Your requirements could not be resolved to an installable set of 
packages.

Problem 1
- Conclusion: remove symfony/symfony v3.0.6
- Conclusion: don't install symfony/symfony v3.0.6
- Conclusion: don't install symfony/symfony v3.0.5
- Conclusion: don't install symfony/symfony v3.0.4
- Conclusion: don't install symfony/symfony v3.0.3
- Installation request for sonata-project/user-bundle dev-master ->
satisfiable by sonata-project/user-bundle[dev-master].
- Conclusion: don't install symfony/symfony v3.0.2
- Conclusion: don't install symfony/symfony v3.0.1
- sonata-project/user-bundle dev-master requires symfony/form ^2.3 ->
satisfiable by symfony/form[.....

最佳答案

SonataUserBundle 3 天前刚刚发布了 3.0.0 版本,但鉴于 composer.json 文件,它似乎还不兼容 SF3:

{
"name": "sonata-project/user-bundle",
"require": {
"php": "^5.3 || ^7.0",
"symfony/http-foundation": "^2.3",
"symfony/form": "^2.3",
"symfony/security": "^2.3",
"symfony/console": "^2.3",
},
[...]
}
恐怕我们还得再等一会儿。
在官方存储库上发布了一些关于它的问题:
https://github.com/sonata-project/SonataUserBundle/issues/724
作者的回答:

SF 3.0 is not supported because FOSUser 1.x does not support it.

FOSUser 2.x is not stable and is not supported by our bundle right now.



对于完整的故事,有计划在 2015 年 12 月发布 FOSUserBundle 的 SF3 兼容版本,但此后没有任何关于该版本的消息......
https://github.com/FriendsOfSymfony/FOSUserBundle/pull/1990
让我们拭目以待!

关于sonata-admin - 奏鸣曲用户包 + Symfony 3.x,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37315536/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com