PHPackages                             tebros/laravel-email-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. tebros/laravel-email-confirmation

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

tebros/laravel-email-confirmation
=================================

Email confirmation integration for the Laravel framework.

1.2.0(8y ago)250MITPHPPHP &gt;=7.0.0

Since Jan 22Pushed 8y agoCompare

[ Source](https://github.com/Tebros/laravel-email-confirmation)[ Packagist](https://packagist.org/packages/tebros/laravel-email-confirmation)[ Docs](https://github.com/Tebros/laravel-email-confirmation)[ RSS](/packages/tebros-laravel-email-confirmation/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Laravel E-Mail Confirmation
===========================

[](#laravel-e-mail-confirmation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1912262965dfc350f91a520045ccd4da6da7b315f68e8e27ebb7f9a3f53181b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746562726f732f6c61726176656c2d656d61696c2d636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tebros/laravel-email-confirmation)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/3848c7016819dad1f487fcd50d006d7c6591ff7079ab3f4bf0740241dd1e9145/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746562726f732f6c61726176656c2d656d61696c2d636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tebros/laravel-email-confirmation)

This package integrates an email confirmation into the default laravel authentification.

It is has been developed and tested for Laravel 5.5 but it should also work with other versions of Laravel.

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

[](#installation)

Make use of composer to require this package.

The installation appends a function call in the `routes/web.php` file automatically. Please do **not** comment it out!

```
composer require tebros/laravel-email-confirmation
```

Run the `make:auth` command if not already done.

Skip this step if you have already executed the command in the past.

```
php artisan make:auth
```

Make a migration to create the needed table `users_confirmation`.

```
php artisan migrate

```

Edit the `app/Http/Controllers/Auth/RegisterController.php` file.

The editing is quite simple. To hook into the default Laravel authentification prozess, you need to change the `RegistersUsers` trait at the top.

```
//comment out the line like this or just override it
//use RegistersUsers;

use \Tebros\EmailConfirmation\Traits\RegistersUsers; //use this trait instead of the default
```

Edit the `app/Http/Controllers/Auth/LoginController.php` file.

It is required to display correct a message if the account is not confirmed.

```
//comment out the line like this or just override it
//use AuthenticatesUsers;

use \Tebros\EmailConfirmation\Traits\AuthenticatesUsers; //use this trait instead of the default
```

Make sure your `config/mail.php` file contains these important settings:

- MAIL\_DRIVER
- MAIL\_HOST
- MAIL\_PORT
- MAIL\_USERNAME, MAIL\_PASSWORD
- MAIL\_FROM\_ADDRESS, MAIL\_FROM\_NAME

Moreover, make sure your `config/app.php` file contains these important settings:

- APP\_NAME
- APP\_URL

Configuration and Publishing
----------------------------

[](#configuration-and-publishing)

After the installation you can make use of the `confirm` route name to link the `Resend Confirmation E-Mail` site.

**Important!** You should edit your `auth/login.blade.php` view and add this link to request a new confirmation email!

```

            Login

            Forgot Your Password?

            Resend Confirmation Link?

```

If you want to configure the email confirmation, run the following command.

You can modify the `config/emailconfirmation.php` file as you wish.

```
php artisan vendor:publish --tag=emailconfirmation-config
```

To change a message or text you can modify the files in the `lang/vendor/emailconfirmation` directory.

Run the following command to do this.

```
php artisan vendor:publish --tag=emailconfirmation-translation
```

If you do not want to use the default Laravel views, you can modify the views in the `views/vendor/emailconfirmation` directory.

Run the following command to do this.

```
php artisan vendor:publish --tag=emailconfirmation-views
```

Update
------

[](#update)

You can update the package by running the following command or update all of your dependencies with `composer update`.

```
composer update tebros/laravel-email-confirmation
```

If you want to update your published files like `config/emailconfirmation.php`, `lang/vendor/emailconfirmation` or `views/vendor/emailconfirmation`, you can use the following commands.

**Attention!** These commands will **override** your published files. So please backup your config, views or lang files if you do not want to lose them!

```
php artisan vendor:publish --tag=emailconfirmation-config --force
php artisan vendor:publish --tag=emailconfirmation-translation --force
php artisan vendor:publish --tag=emailconfirmation-views --force
```

Uninstallation
--------------

[](#uninstallation)

You should remove the following two lines in your `routes/web.php` file.

```
// Register routes for email confirmation. The uri is "/confirm"
Tebros\EmailConfirmation\Utils::routes();
```

Edit the `app/Http/Controllers/Auth/RegisterController.php` file and the `app/Http/Controllers/Auth/LoginController.php` file to remove the Laravel hook.

```
//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;
```

Now just type the following command.

```
composer remove tebros/laravel-email-confirmation
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

5

Last Release

3026d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25565890?v=4)[Tebros](/maintainers/Tebros)[@Tebros](https://github.com/Tebros)

---

Top Contributors

[![Tebros](https://avatars.githubusercontent.com/u/25565890?v=4)](https://github.com/Tebros "Tebros (28 commits)")

---

Tags

laravelemailconfirmation

### Embed Badge

![Health badge](/badges/tebros-laravel-email-confirmation/health.svg)

```
[![Health](https://phpackages.com/badges/tebros-laravel-email-confirmation/health.svg)](https://phpackages.com/packages/tebros-laravel-email-confirmation)
```

###  Alternatives

[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)[ashallendesign/laravel-mailboxlayer

A lightweight Laravel package for validating emails using the Mailbox Layer API.

762.0k](/packages/ashallendesign-laravel-mailboxlayer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
