PHPackages                             alexisgeneau/mailvalidate - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. alexisgeneau/mailvalidate

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

alexisgeneau/mailvalidate
=========================

Add Mail validator into Laravel application

271PHP

Since Oct 26Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

MailValidate
------------

[](#mailvalidate)

### Installation

[](#installation)

Add MailValidate to your composer.json file to require MailValidate :

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

```

Update Composer :

```
    composer update

```

The next step is to add the service provider to config/app.php :

```
    Alexisgeneau\MailValidate\MailValidateServiceProvider::class,

```

### Publish

[](#publish)

The next step is to publish files in your application with :

```
    php artisan vendor:publish --force

```

Warning ! This command will replace 'AuthController' in your application to edit PostLogin function.

### Migrate

[](#migrate)

Run migrate command to add column on users in your database :

```
    php artisan migrate

```

Add 'confirmation\_token' and 'confirmed' in your $fillable on user model.

### Routes

[](#routes)

To have mail validation add this lines in your routes.php

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

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2b1b4b1b275bc62abd0d03d2c2bc6d404e4246d4f284923848b10c6a62e32e3?d=identicon)[alexisgeneau](/maintainers/alexisgeneau)

---

Top Contributors

[![alexisgeneau](https://avatars.githubusercontent.com/u/15122711?v=4)](https://github.com/alexisgeneau "alexisgeneau (8 commits)")

### Embed Badge

![Health badge](/badges/alexisgeneau-mailvalidate/health.svg)

```
[![Health](https://phpackages.com/badges/alexisgeneau-mailvalidate/health.svg)](https://phpackages.com/packages/alexisgeneau-mailvalidate)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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