| Package Data | |
|---|---|
| Maintainer Username: | alexisgeneau |
| Maintainer Contact: | contact@alexis-geneau.fr (Alexis Geneau) |
| Package Create Date: | 2015-11-21 |
| Package Last Update: | 2022-10-26 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-14 03:05:22 |
| Package Statistics | |
|---|---|
| Total Downloads: | 67 |
| Monthly Downloads: | 6 |
| Daily Downloads: | 5 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Add MailValidate to your composer.json file to require MailValidate :
require : {
"alexisgeneau/mailvalidate": "dev-master"
}
Update Composer :
composer update
The next step is to add the service provider to config/app.php :
Alexisgeneau\MailValidate\MailValidateServiceProvider::class,
The next step is to publish files in your application with :
php artisan vendor:publish --force
Warning ! This command will replace 'AuthController' in your application to edit PostLogin function.
Run migrate command to add column on users in your database :
php artisan migrate
Add 'confirmation_token' and 'confirmed' in your $fillable on user model.
To have mail validation add this lines in your routes.php
Route::get('register/verify/{confirmationToken}', [
'as' => 'confirmation_path',
'uses' => 'RegistrationController@confirm'
]);