PHP code example of tebros / laravel-email-confirmation
1. Go to this page and download the library: Download tebros/laravel-email-confirmation library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tebros / laravel-email-confirmation example snippets
//comment out the line like this or just override it
//use RegistersUsers;
use \Tebros\EmailConfirmation\Traits\RegistersUsers; //use this trait instead of the default
//comment out the line like this or just override it
//use AuthenticatesUsers;
use \Tebros\EmailConfirmation\Traits\AuthenticatesUsers; //use this trait instead of the default
// Register routes for email confirmation. The uri is "/confirm"
Tebros\EmailConfirmation\Utils::routes();
//remove the comment that the orifinal trait is used
use RegistersUsers;
//remove the whole line or comment it out
//use \Tebros\EmailConfirmation\Traits\RegistersUsers;
//remove the comment that the orifinal trait is used
use AuthenticatesUsers;
//remove the whole line or comment it out
//use \Tebros\EmailConfirmation\Traits\AuthenticatesUsers;