Download the PHP package sherlockode/user-confirmation-bundle without Composer
On this page you can find all versions of the php package sherlockode/user-confirmation-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sherlockode/user-confirmation-bundle
More information about sherlockode/user-confirmation-bundle
Files in sherlockode/user-confirmation-bundle
Package user-confirmation-bundle
Short Description Symfony Bundle for the confirmation process of a user registration
License MIT
Homepage https://github.com/sherlockode/user-confirmation-bundle
Informations about the package user-confirmation-bundle
SherlockodeUserConfirmationBundle
The SherlockodeUserConfirmationBundle provides a way to create a user account that will stay disabled until the user visits a confirmation link sent by email and sets a password.
Prerequisites
This version of the bundle requires Symfony 3. or 4. and FOSUserBundle
Installation
Step 1: Install SherlockodeUserConfirmationBundle
Install with Composer:
Enable the bundle in the Symfony kernel:
Step 2: Configure the bundle
Import the routing in config/routes.yaml
Then create the configuration in config/packages/sherlockode_user_confirmation.yaml
Customization
Extend the confirmation form template
To extend the confirmation form template, just update your sherlockode_user_confirmation.yaml
Then in your template, add a placeholder for the block sherlockode_user_confirmation_form
Extend the confirmation email
If you want to extend the confirmation email template, you should add the path in your config.yml
In this template, you have access to the user
object, and to a variable named confirmationUrl
which contains the url to access the confirmation form.
Send confirmation email
If you want to send the confirmation again for an existing user, use the following link :
All versions of user-confirmation-bundle with dependencies
friendsofsymfony/user-bundle Version ^2.2.4|^3.0
symfony/framework-bundle Version ^4.4|^5.0
symfony/mailer Version ^5.0
symfony/twig-bundle Version ^4.4|^5.0
twig/twig Version ^2.0|^3.0