Sonata User Bundle + Symfony 3.x

半世苍凉 提交于 2019-12-01 04:53:11

The SonataUserBundle just released a 3.0.0 version 3 days ago, but does not seem to be compatible with SF3 yet, given the composer.json file:

{
    "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",
    },
    [...]
}

I am afraid we will have to wait a little bit longer.

Some issues were posted about it on the official repository: https://github.com/sonata-project/SonataUserBundle/issues/724

The author's answer:

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.


For the complete story, there were plans to release a SF3 compatible version of the FOSUserBundle on december 2015, but no news about that one has came since...

https://github.com/FriendsOfSymfony/FOSUserBundle/pull/1990

Let's wait & see!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!