PHPackages                             aman00323/emailchecker - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. aman00323/emailchecker

ActiveLibrary[HTTP &amp; Networking](/categories/http)

aman00323/emailchecker
======================

Laravel package for checking email address is exist or not in real world

3.0.0(2mo ago)16064.2k↓65.9%34[14 PRs](https://github.com/aman00323/email-checker/pulls)MITPHPPHP ^8.1CI passing

Since Aug 23Pushed 1w ago6 watchersCompare

[ Source](https://github.com/aman00323/email-checker)[ Packagist](https://packagist.org/packages/aman00323/emailchecker)[ Docs](https://github.com/aman00323/email-checker)[ RSS](/packages/aman00323-emailchecker/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (5)Versions (23)Used By (0)

Email Checker
=============

[](#email-checker)

[![GitHub license](https://camo.githubusercontent.com/3c3307b365052c8c24fbdac1eabead780e220d419aec21f5392f3672336db442/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616d616e30303332332f656d61696c2d636865636b6572)](https://camo.githubusercontent.com/3c3307b365052c8c24fbdac1eabead780e220d419aec21f5392f3672336db442/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616d616e30303332332f656d61696c2d636865636b6572)[![GitHub release](https://camo.githubusercontent.com/f010b2157d0f3ce676c22f4a280920cd509fd751dc3bb1eab3bc57098fe9d9bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f616d616e30303332332f656d61696c2d636865636b6572)](https://camo.githubusercontent.com/f010b2157d0f3ce676c22f4a280920cd509fd751dc3bb1eab3bc57098fe9d9bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f616d616e30303332332f656d61696c2d636865636b6572)[![Packagist Downloads](https://camo.githubusercontent.com/3c4dafed218538227c2b269c1f9119bccc395b35ec53130d0f955c88c947b9fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d616e30303332332f656d61696c636865636b6572)](https://camo.githubusercontent.com/3c4dafed218538227c2b269c1f9119bccc395b35ec53130d0f955c88c947b9fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d616e30303332332f656d61696c636865636b6572)[![PHP Version](https://camo.githubusercontent.com/b6c0c6818e9bae5dc44468d6b03050c042a201d68579b706153686983b0917b7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616d616e30303332332f656d61696c636865636b6572)](https://camo.githubusercontent.com/b6c0c6818e9bae5dc44468d6b03050c042a201d68579b706153686983b0917b7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616d616e30303332332f656d61696c636865636b6572)[![codecov](https://camo.githubusercontent.com/2091947b7e6652f243f8deda5e1e9f071a6648e36d5e347ccc17841f5b45c72b/68747470733a2f2f636f6465636f762e696f2f67682f616d616e30303332332f656d61696c2d636865636b65722f67726170682f62616467652e737667)](https://codecov.io/gh/aman00323/email-checker)

Email Checker helps you reduce fake signups and disposable email usage by validating addresses with a practical multi-step flow.

Why Use It
----------

[](#why-use-it)

- disposable-domain detection
- MX/DNS checks
- SMTP probe (when possible)

Use it in registration and lead-capture flows where cleaner email data matters.

Quick Start
-----------

[](#quick-start)

Install:

```
composer require aman00323/emailchecker
```

Basic check:

```
use Aman\EmailVerifier\EmailChecker;

$result = app(EmailChecker::class)->checkEmail('user@example.com', true);

if ($result['success']) {
	// Use $result['disposable'], $result['mxrecord'], $result['domain']
} else {
	// Use $result['error']
}
```

Compatibility
-------------

[](#compatibility)

Package VersionPHPLaravel3.x&gt;= 8.110.x, 11.x, 12.xInstallation
------------

[](#installation)

Email Checker requires [PHP](https://php.net) &gt;= 8.1 and supports modern [Laravel](https://laravel.com/) versions.

To get the latest version, require the project using [Composer](https://getcomposer.org):

```
composer require aman00323/emailchecker
```

Once installed, include `Aman\EmailVerifier\EmailChecker` to access validation methods.

Optional: publish package config to tune SMTP behavior globally:

```
php artisan vendor:publish --tag=emailchecker-config
```

This creates `config/emailchecker.php` with defaults for probe toggle, port, timeout, and sender email.

Configuration
-------------

[](#configuration)

Published config (`config/emailchecker.php`) example:

```
