mahefa / user-bundle
Symfony FOSUserBundle for Symfony 6
Installs: 124
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1 675
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- ext-dom: *
- ext-json: *
- symfony/config: ^4.4 || ^5.0|^6.0
- symfony/dependency-injection: ^4.4 || ^5.0|^6.0
- symfony/event-dispatcher: ^4.4 || ^5.0|^6.0
- symfony/event-dispatcher-contracts: ^1.1 || ^2.0 || ^2.2.0
- symfony/form: ^4.4 || ^5.0|^6.0
- symfony/framework-bundle: ^4.4 || ^5.0|^6.0
- symfony/http-foundation: ^4.4 || ^5.0|^6.0
- symfony/http-kernel: ^4.4 || ^5.0|^6.0
- symfony/options-resolver: ^4.4 || ^5.0|^6.0
- symfony/routing: ^4.4 || ^5.0|^6.0
- symfony/security-bundle: ^4.4 || ^5.0|^6.0
- symfony/security-core: ^4.4 || ^5.0|^6.0
- symfony/translation: ^4.4 || ^5.0|^6.0
- symfony/twig-bundle: ^4.4 || ^5.0|^6.0
- symfony/validator: ^4.4 || ^5.0|^6.0
- twig/twig: ^1.34 || ^2.4 || ^3.0
Requires (Dev)
- doctrine/doctrine-bundle: ^1.3 || ^2
- friendsofphp/php-cs-fixer: ^3.0.2, !=3.5.0|^6.0
- swiftmailer/swiftmailer: ^4.3 || ^5.0 || ^6.0
- symfony/console: ^4.4 || ^5.0|^6.0
- symfony/phpunit-bridge: ^5.3|^6.0
- symfony/yaml: ^4.4 || ^5.0|^6.0
Conflicts
This package is auto-updated.
Last update: 2024-11-09 12:37:07 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/CouchDB 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 Resources/doc/
folder
in this bundle, and available on symfony.com:
Read the Documentation for master
Read the Documentation for 1.3.x
Installation
All the installation instructions are located in the documentation.
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.
Migrations
- FOS\UserBundle => Mahefa\FOS\UserBundle