PHPackages                             involix/email-check - 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. involix/email-check

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

involix/email-check
===================

email-check (syntax, dns, trash, ...) library

3.1.1(4y ago)09MITPHPPHP &gt;=7.0.0

Since Jul 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/involix/email-check)[ Packagist](https://packagist.org/packages/involix/email-check)[ Docs](https://github.com/involix/email-check)[ Fund](https://www.paypal.me/moelleken)[ GitHub Sponsors](https://github.com/voku)[ RSS](/packages/involix-email-check/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (3)Versions (35)Used By (0)

[![Build Status](https://camo.githubusercontent.com/531c0477d756f38f08b0a345de15ebb89a39af79b9c4de17d4a1b0b6c40c4d51/68747470733a2f2f7472617669732d63692e6f72672f766f6b752f656d61696c2d636865636b2e737667)](https://travis-ci.org/voku/email-check)[![codecov.io](https://camo.githubusercontent.com/f7e1a5682fb7ce4e76118cb42776988f4b9f38ec1a8b16d6fff5ac7bce8c514f/687474703a2f2f636f6465636f762e696f2f6769746875622f766f6b752f656d61696c2d636865636b2f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/voku/email-check?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/12199702d71f21cdc697552dba9a1a30ff023a498c4bbfca8f8a08520c563693/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3531326133646332363462373435623138626161316232333834373062316430)](https://www.codacy.com/app/voku/email-check)[![Latest Stable Version](https://camo.githubusercontent.com/537cabe4a770557e5a29a5871338b2c39be94b2e0552b5df59908a5b8815c912/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f656d61696c2d636865636b2f762f737461626c65)](https://packagist.org/packages/voku/email-check)[![Total Downloads](https://camo.githubusercontent.com/592beadbfec02bdd8ccd52e7811e851ff0b2fb4b18facfe5e1e9f5bfe45cf3fb/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f656d61696c2d636865636b2f646f776e6c6f616473)](https://packagist.org/packages/voku/email-check)[![License](https://camo.githubusercontent.com/f7dee56cc416375341cdb07788a09b875f5adf584d5881c46a55c9763fe0cc66/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f656d61696c2d636865636b2f6c6963656e7365)](https://packagist.org/packages/voku/email-check)[![Donate to this project using Paypal](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/moelleken)[![Donate to this project using Patreon](https://camo.githubusercontent.com/f9e075baad95563481d35174d43ef50757281abb6bc795d0f473fad452afa030/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617472656f6e2d646f6e6174652d79656c6c6f772e737667)](https://www.patreon.com/voku)

✉️ E-Mail Address Validator for PHP
===================================

[](#envelope-e-mail-address-validator-for-php)

### Warning

[](#warning)

The best way to validate an e-mail address is still to send a duplicate opt-in-mail, when the user clicks on the link, it was a valid e-mail address!

### Installation

[](#installation)

The recommended installation way is through [Composer](https://getcomposer.org).

```
$ composer require involix/email-check
```

### Usage:

[](#usage)

Example 1:

```
$emailCheck = EmailCheck::isValid("lars@moelleken.org");

// true

```

Example 2: (check for example-domain)

```
$emailCheck = EmailCheck::isValid("lars@example.com", true);

// false

```

Example 3: (check for typo in domain)

```
$emailCheck = EmailCheck::isValid("lars@-tonline.de", false, true);

// false

```

Example 4: (check for temporary-domain)

```
$emailCheck = EmailCheck::isValid("lars@30minutemail.com", false, false, true);

// false

```

### Unit Test:

[](#unit-test)

1. [Composer](https://getcomposer.org) is a prerequisite for running the tests.

```
composer install

```

2. The tests can be executed by running this command from the root directory:

```
./vendor/bin/phpunit
```

### Support

[](#support)

For support and donations please visit [Github](https://github.com/voku/email-check/) | [Issues](https://github.com/voku/email-check/issues) | [PayPal](https://paypal.me/moelleken) | [Patreon](https://www.patreon.com/voku).

For status updates and release announcements please visit [Releases](https://github.com/voku/email-check/releases) | [Twitter](https://twitter.com/suckup_de) | [Patreon](https://www.patreon.com/voku/posts).

For professional support please contact [me](https://about.me/voku).

### Thanks

[](#thanks)

- Thanks to [GitHub](https://github.com) (Microsoft) for hosting the code and a good infrastructure including Issues-Managment, etc.
- Thanks to [IntelliJ](https://www.jetbrains.com) as they make the best IDEs for PHP and they gave me an open source license for PhpStorm!
- Thanks to [Travis CI](https://travis-ci.com/) for being the most awesome, easiest continous integration tool out there!
- Thanks to [StyleCI](https://styleci.io/) for the simple but powerfull code style check.
- Thanks to [PHPStan](https://github.com/phpstan/phpstan) &amp;&amp; [Psalm](https://github.com/vimeo/psalm) for relly great Static analysis tools and for discover bugs in the code!

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 84.8% 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 ~80 days

Recently: every ~323 days

Total

28

Last Release

1773d ago

Major Versions

0.1.2 → 1.0.02015-09-16

1.1.12 → 2.0.02017-12-01

2.0.0 → 3.0.02017-12-23

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/75191f939aee64e753855a3601c2180ba3d8242fe06139929e1a431c67fd2cda?d=identicon)[eugenecooper](/maintainers/eugenecooper)

---

Top Contributors

[![voku](https://avatars.githubusercontent.com/u/264695?v=4)](https://github.com/voku "voku (67 commits)")[![eugenecooper](https://avatars.githubusercontent.com/u/8261869?v=4)](https://github.com/eugenecooper "eugenecooper (7 commits)")[![anhofmann](https://avatars.githubusercontent.com/u/3919068?v=4)](https://github.com/anhofmann "anhofmann (3 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

mailemailcheck-emailmail-checkvalidate-email-addressvalidate-emailvalidate-mail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/involix-email-check/health.svg)

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

###  Alternatives

[voku/email-check

email-check (syntax, dns, trash, ...) library

504.1M4](/packages/voku-email-check)[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[ddeboer/imap

Object-oriented IMAP for PHP

9153.9M11](/packages/ddeboer-imap)[propaganistas/laravel-disposable-email

Disposable email validator

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

Laravel package for sending mail via the Postmark API

2152.9M1](/packages/coconutcraig-laravel-postmark)[daveearley/daves-email-validation-tool

An easy to use, accurate-ish &amp; extensible email validation library for PHP 7+

284318.9k2](/packages/daveearley-daves-email-validation-tool)

PHPackages © 2026

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