PHPackages                             coderjp/verifier - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. coderjp/verifier

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

coderjp/verifier
================

Email verification for Laravel 5

0.1.3(9y ago)21.2k1MITPHPPHP &gt;=5.4.0

Since May 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/coderjp/verifier)[ Packagist](https://packagist.org/packages/coderjp/verifier)[ RSS](/packages/coderjp-verifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Verifier (Laravel 5 Package)
============================

[](#verifier-laravel-5-package)

Verifier is a package for Laravel 5 that sends out verification emails to users in order for them to prove their email is valid. Users will click a link in the email to validate their address.

Installation
------------

[](#installation)

Require this package with composer using the following command:

```
composer require coderjp/verifier

```

Then run `composer install` or `composer update`.

After updating composer, add the service provider to the `providers` array in `config/app.php`

```
'Coderjp\Verifier\VerifierServiceProvider',

```

Generate the config file for changing various settings. This can be found in `config/verifier.php`.

```
php artisan vendor:publish --provider=Coderjp\\Verifier\\VerifierServiceProvider

```

Make sure the `tables` config option is correct. By default the table used is `users`. Then run the following command to generate the migrations:

```
php artisan verifier:migration

```

Usage
-----

[](#usage)

### Model

[](#model)

Add the `VerifierUserTrait` to the model you wish to verify against. This will usually be the `User` model.

```
