Download the PHP package connectholland/user-bundle without Composer
On this page you can find all versions of the php package connectholland/user-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package user-bundle
Connect Holland User Bundle
User bundle for Symfony 4.4 and 5 projects
Functionality
This bundle will be extendible and provide:
- [x] Simple registration form
- [x] Simple login form
- [x] A Command to create users with their roles
- [x] An e-mail message with a secure link to complete account registration
- [x] Recover password functionality
- [x] Ability to 'switch on' OAuth (Google/GitHub/Facebook/etc)
- [x] Being API accessable
- [ ] Ability to 'switch on' MFA
Environment
Set the environment variables to be able to send e-mails.
Create a user
To create a new user run:
OAuth
If the app needs OAuth login the HWI OAuth bundle should be required and suitable configuration should be added.
Install the bundle:
Uncomment the oauth include in the routing.
Add environment variables to enable a specific OAuth provider (resource). E.g. for google:
Add (automated) routing configuration:
JTW Token support
If the app needs JTW token support, the Lexik JWT Authentication bundle should be required and suitable configuration should be added.
Intstall the bundle:
Generate public and secret keys as described in Lexik JWT Authentication bunle documentation.
Set the location of the keys relative to the project root as environment variables JWT_SECRET_KEY
and JWT_PUBLIC_KEY
and set the passphrase used as JWT_PASSPHRASE
API Support
To add API support, install the API Platform and JWT Authentication configure the firewall and add an authentication route.
For example:
Security configuration example
Extend User entity
If you want to extend the User entity, you should clone User and add it as entity in your own project.
All versions of user-bundle with dependencies
ext-json Version *
doctrine/collections Version ^1.8
doctrine/doctrine-bundle Version ^2.10
doctrine/orm Version ^2.16
doctrine/persistence Version ^2.5
gisostallenberg/response-content-negotiation-bundle Version ^2.0
haydenpierce/class-finder Version ^0.5.3
league/html-to-markdown Version ^5.1
php-http/guzzle7-adapter Version ^1.0
php-http/httplug-bundle Version ^1.29
rollerworks/password-strength-validator Version ^1.7
sensio/framework-extra-bundle Version ^6.2
stof/doctrine-extensions-bundle Version ^1.8
symfony/config Version ^6.3
symfony/console Version ^6.3
symfony/css-selector Version ^6.3
symfony/dependency-injection Version ^6.3
symfony/doctrine-bridge Version ^6.3
symfony/dom-crawler Version ^6.3
symfony/event-dispatcher Version ^6.3
symfony/form Version ^6.3
symfony/framework-bundle Version ^6.3
symfony/http-foundation Version ^6.3
symfony/http-kernel Version ^6.3
symfony/mailer Version ^6.3
symfony/options-resolver Version ^6.3
symfony/routing Version ^6.3
symfony/security-bundle Version ^6.3
symfony/security-core Version ^6.3
symfony/security-csrf Version ^6.3
symfony/security-http Version ^6.3
symfony/templating Version ^6.3
symfony/translation Version ^6.3
symfony/twig-bundle Version ^6.3
symfony/validator Version ^6.3
twig/twig Version ^3.7