You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FOSUserBundle adds support for a database-backed user system in Symfony2+.
It provides a flexible framework for user management that aims to handle
common tasks such as user registration and password retrieval.
Features include:
Users can be stored via Doctrine ORM or MongoDB ODM
Registration support, with an optional confirmation per email
Password reset support
Unit tested
Note: This bundle does not provide an authentication system but can
provide the user provider for the core SecurityBundle.
Maintenance status
The package only receives minimal maintenance to allow existing projects to upgrade. Existing projects are expected to plan a migration away from this bundle.
New projects should not use this bundle. It is actually much easier to implement the User entity in the project (allowing to fit exactly the need of the project). Regarding the extra features of the bundle:
the EntityUserProvider of Symfony already provides the UserProvider when using the Doctrine ORM (and other object managers integrated with Symfony have an equivalent feature)
change password is easy to implement in the project. That's a simple form relying on core Symfony features (the validator for the current password is in core since years)
registration is easier to implement in the project directly to fit the need of the project, especially when the User entity is in the project. symfony/form already provides everything you need
the ProfileController showing a profile page for the user is better done in projects needing it, as the content is likely not enough anyway
Documentation
The source of the documentation is stored in the docs/ folder
in this bundle.
When reporting a bug, it may be a good idea to reproduce it in a basic project
built using the Symfony Standard Edition
to allow developers of the bundle to reproduce the issue by simply cloning it
and following some steps.
About
Provides user management for your Symfony project. Compatible with Doctrine ORM & ODM, and custom storages.