PHPackages                             viktor-miller/laravel-confirmation - 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. viktor-miller/laravel-confirmation

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

viktor-miller/laravel-confirmation
==================================

laravel email confirmation package

1.0.5(8y ago)136MITPHPPHP &gt;=5.5.9

Since Jan 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/viktor-miller/laravel-confirmation)[ Packagist](https://packagist.org/packages/viktor-miller/laravel-confirmation)[ RSS](/packages/viktor-miller-laravel-confirmation/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel Email Confirmation
==========================

[](#laravel-email-confirmation)

This package is intended to confirm the email address of the user. **Tested and used with Laravel 5.4 and 5.5**

Features
--------

[](#features)

- Migration to add "confirmed" column to users table
- Migration to create "email\_confirmations" table
- Scaffold for view, controller, routes and notification
- Publish translations and configs
- The validation rule for unconfirmed users. The validation rule supports an additional property for setting a pause in hours. For example: after registration, the user is allowed to log in for (n) hours without confirming the email address.
- HTML form for resending a notification with instructions for confirming an email address
- HTML form for confirmation of email address in manual mode (Enter e-mail and token).
- Support for confirmation of the email address in the automatic mode (click on the link that was received by e-mail)

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

[](#installation)

1. Add package to your **composer.json** file:

    ```
     composer require viktor-miller/laravel-confirmation

    ```
2. For Laravel 5.4 add service provider and aliase to **config/app.php**

```
'providers' => [
    ViktorMiller\LaravelConfirmation\ServiceProvider::class,
],
'aliases' => [
    'Confirmation' => ViktorMiller\LaravelConfirmation\Facades\Confirmation::class
]
```

3. Add a **Confirmable** trait and implement **Confirmable** interface on your User model

```
