PHP code example of submtd / email-confirmation

1. Go to this page and download the library: Download submtd/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/ */

    

submtd / email-confirmation example snippets


'providers' => [
    Submtd\EmailConfirmation\Providers\EmailConfirmationServiceProvider::class,
    Submtd\EmailConfirmation\Providers\EmailConfirmationListeners::class,
];
bash
php artisan migrate
bash
php artisan vendor:publish --provider="Submtd\EmailConfirmation\Providers\EmailConfirmationServiceProvider"
bash
php artisan vendor:publish --provider="Submtd\EmailConfirmation\Providers\EmailConfirmationServiceProvider" --tag=config
php artisan vendor:publish --provider="Submtd\EmailConfirmation\Providers\EmailConfirmationServiceProvider" --tag=migrations
php artisan vendor:publish --provider="Submtd\EmailConfirmation\Providers\EmailConfirmationServiceProvider" --tag=views