PHPackages                             oskonnikov/email-checker - 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. oskonnikov/email-checker

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

oskonnikov/email-checker
========================

Laravel Package To Validate If An Email Address Exists Without Sending An Email

2.0.0(2y ago)0131MITPHPPHP ^7.0|^8.0|^8.1

Since Oct 10Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Validate Email for Laravel
==========================

[](#validate-email-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f02dae33351c01ac228e7d33f0bd5443018bc9039d92a9dd2d81050939b3f782/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f736b6f6e6e696b6f762f656d61696c2d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oskonnikov/email-checker)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/11c9f1d4dcc342179f9de787ce0783a47887c9ecfa7281826d1dcb46db6ad0e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f736b6f6e6e696b6f762f656d61696c2d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oskonnikov/email-checker)

**Notice** - That extracts the MX records from the email address and connect with the mail server to make sure the mail address accurately exist. So it may be slow loading time in local and some co-operate MX records take a long time.

You can install the package via composer:

```
composer require oskonnikov/email-checker

```

The package will automatically register itself.

### Translations

[](#translations)

If you wish to edit the package translations, you can run the following command to publish them into your `resources/lang` folder

```
php artisan vendor:publish --provider="Oskonnikov\EmailChecker\EmailCheckerServiceProvider"
```

### Features

[](#features)

This package supports:

- Validate with SMTP
- Support for Disposable Email

Usage
-----

[](#usage)

### `Form Request Validation`

[](#form-request-validation)

To add 'email\_checker' at email attribute

```
    // [your site path]/app/Http/Requests/RegisterRequest.php
    public function rules()
    {
        return [
               'name' => 'required|string|max:255',
               'email' => 'required|string|email|max:255|unique:users|email_checker',
               'password' => 'required|string|min:6|confirmed',
        ];
    }
```

### `In a RegisterController`

[](#in-a-registercontroller)

```
    // [your site path]/app/Http/Controllers/Auth/RegisterController.php
    protected function validator(array $data)
    {
        return Validator::make($data, [
            'name' => ['required', 'string', 'max:255'],
            'email' => 'required|string|email|max:255|unique:users|email_checker',
            'password' => ['required', 'string', 'min:8', 'confirmed'],
        ]);
    }
```

### `Using Rule Objects`

[](#using-rule-objects)

```
    use Oskonnikov\EmailChecker\Rules\EmailExist;

    $request->validate([
        'email' => ['required', 'string', 'email', 'max:255', 'unique:users', new EmailExist],
    ]);
```

### `Usage With Facade`

[](#usage-with-facade)

You can also check check email manually:

```
// reture boolean
EmailChecker::check('me@example.com');
```

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

### Credit

[](#credit)

- Disposable Email List
    - [Ilya Volodarsky](https://github.com/ivolo/disposable-email-domains/blob/master/index.json)

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

942d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelemailvalidatesmtp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oskonnikov-email-checker/health.svg)

```
[![Health](https://phpackages.com/badges/oskonnikov-email-checker/health.svg)](https://phpackages.com/packages/oskonnikov-email-checker)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[ashallendesign/email-utilities

A Laravel package containing some useful utilities for working with email addresses.

1308.8k](/packages/ashallendesign-email-utilities)[madeitbelgium/laravel-email-domain-validation

PHP Laravel Email domain validator

1966.3k](/packages/madeitbelgium-laravel-email-domain-validation)[osiemsiedem/laravel-autolink

A Laravel package for converting URLs in a given string of text into clickable links.

13126.3k](/packages/osiemsiedem-laravel-autolink)

PHPackages © 2026

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