bengor-user/user-bundle
Fully featured, well-tested Symfony user bundle built on BenGorUser. Supports multiple user types and HTML/JSON renderers. Includes registration (confirmation/invites), login/logout, JWT auth, password reset, user removal, role management, and token purging.
You can define a list of default roles for new users. Just add the following in your user config file
# app/config/config.yml
ben_gor_user:
user_class:
your_user:
# ...
default_roles:
- ROLE_USER
- ROLE_OTHER
- ROLE_ANOTHER
# ...
How can I help you explore Laravel packages today?