FOSUserBundle and Symfony 3.0?

后端 未结 3 816
时光取名叫无心
时光取名叫无心 2020-12-14 17:25

Does FOSUserBundle work with symfony 3? Can\'t see any info regarding that on their site.

I have just installed a fresh copy of Symfony 3, did composer update<

相关标签:
3条回答
  • 2020-12-14 17:38

    This command worked for me with Symfony 3.2.1:

    composer require friendsofsymfony/user-bundle "~2.0@dev"
    
    0 讨论(0)
  • 2020-12-14 17:49

    Editing my composer.json to include

    "friendsofsymfony/user-bundle": "^2.0.0"
    

    and then running

    composer update
    

    worked for me after finding this packagist page

    The end result (of installing the bundle) is the same and in my opinion, the requirement statement looks/feels better in my project by not being a dev branch.

    0 讨论(0)
  • 2020-12-14 17:51

    At the moment, there isn't a tagged version (official version) for support of the new framework version, BTW, in this github issue says that:

    in the the master branch is now compatible with Symfony.

    So try with this composer configuration

    friendsofsymfony/user-bundle: "dev-master"
    

    Hope this help

    0 讨论(0)
提交回复
热议问题