2017 © Pedro Peláez
 

library mailvalidate

Add Mail validator into Laravel application

image

alexisgeneau/mailvalidate

Add Mail validator into Laravel application

  • Sunday, November 22, 2015
  • by alexisgeneau
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MailValidate

Installation

Add MailValidate to your composer.json file to require MailValidate :, (*1)

    require : {
        "alexisgeneau/mailvalidate": "dev-master"
    }

Update Composer :, (*2)

    composer update

The next step is to add the service provider to config/app.php :, (*3)

    Alexisgeneau\MailValidate\MailValidateServiceProvider::class,

Publish

The next step is to publish files in your application with :, (*4)

    php artisan vendor:publish --force

Warning ! This command will replace 'AuthController' in your application to edit PostLogin function., (*5)

Migrate

Run migrate command to add column on users in your database :, (*6)

    php artisan migrate

Add 'confirmation_token' and 'confirmed' in your $fillable on user model., (*7)

Routes

To have mail validation add this lines in your routes.php, (*8)

    Route::get('register/verify/{confirmationToken}', [
        'as' => 'confirmation_path',
        'uses' => 'RegistrationController@confirm'
    ]);

The Versions

22/11 2015

dev-master

9999999-dev

Add Mail validator into Laravel application

  Sources   Download

MIT

by Alexis Geneau