friendsofsymfony / user-bundle
Symfony FOSUserBundle
Installs: 32 274 734
Dependents: 475
Suggesters: 42
Security: 4
Stars: 3 243
Watchers: 155
Forks: 1 675
Open Issues: 114
Type:symfony-bundle
Requires
- php: ^8.1
- ext-dom: *
- ext-json: *
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/event-dispatcher-contracts: ^1.1 || ^2.0 || ^3.0
- symfony/form: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/options-resolver: ^6.4 || ^7.0
- symfony/password-hasher: ^6.4 || ^7.0
- symfony/routing: ^6.4 || ^7.0
- symfony/security-bundle: ^6.4 || ^7.0
- symfony/security-core: ^6.4 || ^7.0
- symfony/translation: ^6.4 || ^7.0
- symfony/twig-bundle: ^6.4 || ^7.0
- symfony/validator: ^6.4 || ^7.0
- twig/twig: ^2.13 || ^3.0
Requires (Dev)
- doctrine/doctrine-bundle: ^1.3 || ^2
- friendsofphp/php-cs-fixer: ^3.0.2, !=3.5.0
- symfony/console: ^6.4 || ^7.0
- symfony/mailer: ^6.4 || ^7.0
- symfony/mime: ^6.4 || ^7.0
- symfony/phpunit-bridge: ^6.4 || ^7.0
- symfony/yaml: ^6.4 || ^7.0
Conflicts
- doctrine/doctrine-bundle: <1.3
- doctrine/persistence: <1.3
- symfony/doctrine-bridge: <6.4
- dev-master / 4.x-dev
- v4.0.0
- 3.x-dev
- v3.4.0
- v3.3.0
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- 2.0.0-beta2
- v2.0.0-beta1
- v2.0.0-alpha3
- v2.0.0-alpha2
- v2.0.0-alpha1
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- 1.2.0
- 1.1.0
This package is auto-updated.
Last update: 2024-12-04 12:22:29 UTC
README
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)
- email verification is provided by https://github.com/SymfonyCasts/verify-email-bundle
- password reset is provided by https://github.com/SymfonyCasts/reset-password-bundle
- 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.
Read the Documentation for the current branch
License
This bundle is under the MIT license. See the complete license in the bundle
About
UserBundle is a knplabs initiative. See also the list of contributors.
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
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.