PHPackages                             aliabdulaziz/laravel-email-verification - 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. aliabdulaziz/laravel-email-verification

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

aliabdulaziz/laravel-email-verification
=======================================

This Laravel package provides a simple solution for email verification.

v1.0.3(8y ago)232MITPHP

Since May 14Pushed 8y agoCompare

[ Source](https://github.com/aliabdulaziz/laravel-email-verification)[ Packagist](https://packagist.org/packages/aliabdulaziz/laravel-email-verification)[ RSS](/packages/aliabdulaziz-laravel-email-verification/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (4)Used By (0)

laravel-email-verification
==========================

[](#laravel-email-verification)

This Laravel package provides a simple solution for email verification.

Requirements
------------

[](#requirements)

- Laravel 5.3+

Screenshots
-----------

[](#screenshots)

[![Email is not verified](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/01.PNG "Email is not verified")](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/01.PNG)

[![Verification Mail](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/02.PNG "Verification Mail")](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/02.PNG)

[![Verification failed](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/03.PNG "Verification failed")](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/03.PNG)

[![Email is verified](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/04.PNG "Email is verified")](https://raw.githubusercontent.com/Aliabdulaziz/laravel-email-verification/master/screenshots/04.PNG)

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

[](#installation)

> It is recommended to install this package in a fresh installation of Laravel.

### Laravel's built-in Auth System

[](#laravels-built-in-auth-system)

This package is integrated with Laravel's built-in Auth System, so you must first run this command if you have not run it yet:

```
php artisan make:auth
```

Now go to your (env) file and make sure that you have selected your database.

### Install the package using composer

[](#install-the-package-using-composer)

Now install the package using composer by running the following command:

```
composer require aliabdulaziz/laravel-email-verification
```

### Add the service provider (for Laravel &lt; 5.5)

[](#add-the-service-provider-for-laravel--55)

Go to: (Your Laravel App) --&gt; config --&gt; app.php

and add the following line under 'Package Service Providers' comment:

```
Aliabdulaziz\LaravelExtendedUser\LaravelEmailVerificationServiceProvider::class
```

### Publish the config file

[](#publish-the-config-file)

Run the following command to publish the package config file:

```
php artisan vendor:publish --provider="Aliabdulaziz\LaravelEmailVerification\LaravelEmailVerificationServiceProvider" --tag=config
```

The config file is named (laravelemailverification.php) and will be located in the 'config' folder.

### Migrate

[](#migrate)

Run the artisan migrate command to create the users table:

> this command will also migrate the package migration file by which the email\_verification field is added to the users table.

```
php artisan migrate
```

### Config Mail Driver

[](#config-mail-driver)

go to your (env) file and make sure that you have configured your mail driver.

Middleware
----------

[](#middleware)

Go to: (Your Laravel App) --&gt; app --&gt; Http --&gt; Kernal.php

and add the following middleware to the $routeMiddleware array:

```
'verifyEmail' => \Aliabdulaziz\LaravelEmailVerification\Middleware\VerifyEmail::class,
```

Now you can use this middleware on the routes that you want to prevent from being accessed by the users who did not verify their emails.

### Example

[](#example)

```
Route::middleware(['web', 'auth', 'verifyEmail'])->group(function () {

	// Only users with verified emails can access this route
	Route::get('verified-email', function () {
		echo "Your email is verified!";
	});

});
```

Customization
-------------

[](#customization)

To customize the package default views publish them to your views folder by running the following command:

```
php artisan vendor:publish --provider="Aliabdulaziz\LaravelEmailVerification\LaravelEmailVerificationServiceProvider" --tag=views
```

Now make whatever customization you want on the published views.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

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 ~0 days

Total

3

Last Release

2920d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31ab4675aba9fc55b262b264299223ccd05d31606f108055f34cb170017e0597?d=identicon)[Aliabdulaziz](/maintainers/Aliabdulaziz)

---

Top Contributors

[![aliabdulaziz](https://avatars.githubusercontent.com/u/39233809?v=4)](https://github.com/aliabdulaziz "aliabdulaziz (5 commits)")

---

Tags

emaillaravelverification

### Embed Badge

![Health badge](/badges/aliabdulaziz-laravel-email-verification/health.svg)

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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