PHPackages                             apavliukov/laravel-email-smtp-validation - 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. apavliukov/laravel-email-smtp-validation

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

apavliukov/laravel-email-smtp-validation
========================================

Validate email address via SMTP to check if it really exists

1.0.6(2y ago)126.1k↓63.4%MITPHPPHP ^7.4|^8.0

Since Jul 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/apavliukov/laravel-email-smtp-validation)[ Packagist](https://packagist.org/packages/apavliukov/laravel-email-smtp-validation)[ RSS](/packages/apavliukov-laravel-email-smtp-validation/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (7)Used By (0)

Laravel Email SMTP Validation
=============================

[](#laravel-email-smtp-validation)

Laravel package for simpler usage of [zytzagoo/smtp-validate-email](https://github.com/zytzagoo/smtp-validate-email) package to check if email really exists. It retrieves MX records for the email domain and then connects to the domain's SMTP server to try figuring out if the address really exists.

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

[](#installation)

```
composer require apavliukov/laravel-email-smtp-validation
```

Usage
-----

[](#usage)

### Config

[](#config)

You can copy config file

```
php artisan vendor:publish --tag=email-smtp-validation-config
```

If you want to disable SMTP check on some environments, you can pass them in config on key `disable_on_env`. By default, `local` env is disabled to allow you to use fake emails during development.

### Rule

[](#rule)

For example, in your request class you can use `Rules\EmailSmtpVerified` rule like here

```
use AlexPavliukov\EmailSmtpValidation\Rules\EmailSmtpVerified;
...

class ValidateEmailRequest extends FormRequest
{
    public function rules()
    {
        return [
            'email' => [
                'required',
                'email',
                app(EmailSmtpVerified::class),
            ],
        ];
    }
}

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Recently: every ~269 days

Total

6

Last Release

738d ago

### Community

Maintainers

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

---

Top Contributors

[![apavliukov](https://avatars.githubusercontent.com/u/4885052?v=4)](https://github.com/apavliukov "apavliukov (14 commits)")

---

Tags

email-validationlaravelphpsmtpvalidationlaravelvalidationemailsmtp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apavliukov-laravel-email-smtp-validation/health.svg)

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

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

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

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[martian/spammailchecker

A laravel package that protect users from entering non-existing/spam email addresses.

412.1k](/packages/martian-spammailchecker)

PHPackages © 2026

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