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(1y ago)122.8k↓46.7%MITPHPPHP ^7.4|^8.0

Since Jul 13Pushed 1y 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 1mo 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

36

—

LowBetter than 82% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity28

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

692d 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

[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[verifalia/sdk

Verifalia provides a simple HTTPS-based API for validating email addresses and checking whether they are deliverable or not. This library allows to easily integrate with Verifalia and verify email addresses in real-time.

4349.8k](/packages/verifalia-sdk)[martian/spammailchecker

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

422.0k](/packages/martian-spammailchecker)[kouz/laravel-mailgun-email-validation

Laravel email validation that uses the Mailgun API for a three-step validation check.

11141.0k1](/packages/kouz-laravel-mailgun-email-validation)[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)
