1

I'm trying to extend the FOSUserBundle so that I can handle two (or even more) types of users, that will share the common properties (like username and email, inherited from FOSUserBundle), and also have their own specific differences (that will live in different tables).

Can you suggest a way to implement the described requirements?

Thanks!

1 Answer 1

3

I finally managed to deal with this issue. With some help from Symfony community of course ...

I used the PUGX/PUGXMultiUserBundle that extends FOSUserBundle by adding the feature to handle users of different types. It's magic is based on the doctrine2 inheritance, so it currently only supports the ORM db driver (as described in bundle's documentation).

Great job PUGX,

Thanks!

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.