PHPackages                             fgribreau/mailchecker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. fgribreau/mailchecker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

fgribreau/mailchecker
=====================

Temporary (disposable/throwaway) email detection library. Covers 1987 fake email providers.

v6.0.20(2mo ago)1.9k662.6k↓11.6%297[2 issues](https://github.com/FGRibreau/mailchecker/issues)[2 PRs](https://github.com/FGRibreau/mailchecker/pulls)4MITPHPPHP &gt;=8.1CI passing

Since Mar 19Pushed 2mo ago33 watchersCompare

[ Source](https://github.com/FGRibreau/mailchecker)[ Packagist](https://packagist.org/packages/fgribreau/mailchecker)[ GitHub Sponsors](https://github.com/fgribreau)[ RSS](/packages/fgribreau-mailchecker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (175)Used By (4)

MailChecker
===========

[](#mailchecker)

[![PyPi version](https://camo.githubusercontent.com/099df44b9657b3f409e780d1b4ee801331196cc2197d6379c43d5da015f820c6/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f6d61696c636865636b65722e737667)](https://pypi.org/project/mailchecker/#history) [![PyPI - Downloads](https://camo.githubusercontent.com/1dd038aae65f96fbf6284f6692babe62d00517f8c343fa06789ff9088d0ec67e/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f6d61696c636865636b6572)](https://camo.githubusercontent.com/1dd038aae65f96fbf6284f6692babe62d00517f8c343fa06789ff9088d0ec67e/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f6d61696c636865636b6572)

[![Cargo version](https://camo.githubusercontent.com/b4c949772e4d0adda8bd42ee255ab23554c904c4822078ff84c206ade03cbc74/68747470733a2f2f696d672e736869656c64732e696f2f6372617465732f762f6d61696c636865636b65722e737667)](https://crates.io/crates/mailchecker) [![Crates.io](https://camo.githubusercontent.com/9399495bf23b63d6b935fcdbfa8252c9561bc253020c314f0c32c692b2e46b45/68747470733a2f2f696d672e736869656c64732e696f2f6372617465732f642f6d61696c636865636b6572)](https://camo.githubusercontent.com/9399495bf23b63d6b935fcdbfa8252c9561bc253020c314f0c32c692b2e46b45/68747470733a2f2f696d672e736869656c64732e696f2f6372617465732f642f6d61696c636865636b6572)

[![NPM version](https://camo.githubusercontent.com/80eb3529df23c77cbd629c1b855d96554dd21e8902a55853e2a495eb2e787ee3/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6d61696c636865636b65722e737667)](http://badge.fury.io/js/mailchecker) [![npm](https://camo.githubusercontent.com/ed816d29368631c31b6a1ac68403b47abf622334241fc7843ab0434d1e19b19d/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f6d61696c636865636b6572)](https://camo.githubusercontent.com/ed816d29368631c31b6a1ac68403b47abf622334241fc7843ab0434d1e19b19d/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f6d61696c636865636b6572)

[![Gem version](https://camo.githubusercontent.com/02b44609888cf89e5f7734a1b6a6cca7a05a46aa057b379069062a097a15c6a4/68747470733a2f2f696d672e736869656c64732e696f2f67656d2f762f727562792d6d61696c636865636b65722e737667)](http://badge.fury.io/js/mailchecker) [![Gem](https://camo.githubusercontent.com/02122b3edc4027d3863bd78d40023b67b2a0640cd377c0416e2205af71e099d7/68747470733a2f2f696d672e736869656c64732e696f2f67656d2f64742f6d61696c636865636b6572)](https://camo.githubusercontent.com/02122b3edc4027d3863bd78d40023b67b2a0640cd377c0416e2205af71e099d7/68747470733a2f2f696d672e736869656c64732e696f2f67656d2f64742f6d61696c636865636b6572)

[![Packagist version](https://camo.githubusercontent.com/b09b43019b040e3fb4b943edba33b7b1f13a62fd2ad7db615dfa89e69a0572eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6667726962726561752f6d61696c636865636b65722e737667)](https://packagist.org/packages/fgribreau/mailchecker) [![Packagist](https://camo.githubusercontent.com/db09325382b3e0231d9364ca13c2ea5c96f6f174955e3062f0ba76fd9ad4eef4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6667726962726561752f6d61696c636865636b6572)](https://camo.githubusercontent.com/db09325382b3e0231d9364ca13c2ea5c96f6f174955e3062f0ba76fd9ad4eef4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6667726962726561752f6d61696c636865636b6572)

[![GoDoc](https://camo.githubusercontent.com/699806a8ca18f847859d46e13c767e09766ad3627e90de08ec2437c93d799e22/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f4647526962726561752f6d61696c636865636b65722f706c6174666f726d2f676f3f7374617475732e737667)](https://godoc.org/github.com/FGRibreau/mailchecker/platform/go)

[![Get help on Codementor](https://camo.githubusercontent.com/946849bf79fb5d17765232b1fe38f4184923e7d4e532bcb028dd14b2b26ecc52/68747470733a2f2f63646e2e636f64656d656e746f722e696f2f6261646765732f6765745f68656c705f6769746875622e737667)](https://www.codementor.io/francois-guillaume-ribreau?utm_source=github&utm_medium=button&utm_term=francois-guillaume-ribreau&utm_campaign=github) [![available-for-advisory](https://camo.githubusercontent.com/19a1f1c21f634f274ad49254e3004199c74ceea3bafa5d6664f415f5c853074e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617661696c61626c65253230666f722532306164766973696e672d7965732d6666363962342e7376673f)](http://bit.ly/2c7uFJq) [![extra](https://camo.githubusercontent.com/d0438a8e940a9c3f93fe42254d15f0142d69934f4d0ad78b22ec44e07c02fa72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6163746976656c792532306d61696e7461696e65642d7965732d6666363962342e7376673f)](https://camo.githubusercontent.com/d0438a8e940a9c3f93fe42254d15f0142d69934f4d0ad78b22ec44e07c02fa72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6163746976656c792532306d61696e7461696e65642d7965732d6666363962342e7376673f) [![Slack](https://camo.githubusercontent.com/bb093aa668154dceae457add7bb5c7b9565ffd15f292edc5c16ffe8bbf55c9aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d4a6f696e2532306f757225323074656368253230636f6d6d756e6974792d3137323032413f6c6f676f3d736c61636b)](https://join.slack.com/t/fgribreau/shared_invite/zt-edpjwt2t-Zh39mDUMNQ0QOr9qOj~jrg)

Cross-language email validation. Backed by a [database](./list.txt) of **over 55 000 throwable email domains**.

- Validate the format of your email (uses [validator.js](https://github.com/chriso/validator.js/blob/master/validator.js#L38) email regex underneath and `FILTER_VALIDATE_EMAIL` for PHP)
- Validate if the email is not a **temporary mail** (yopmail-like..., [add your own dataset to list.txt](./list.txt))

This will be very helpful when you have to contact your users and you want to avoid errors causing lack of communication or want to block "spamboxes".

---

> Need to provide Webhooks inside your SaaS?

- [Try Hook0, an open-source self-hostable webhook micro-service](https://www.hook0.com/)

> Need to embed a charts into an email?
>
> It's over with **[Image-Charts](https://image-charts.com?gh_mailchecker)**, no more server-side rendering pain, 1 url = 1 chart.

```
https://image-charts.com/chart?
cht=lc // chart type
&chd=s:cEAELFJHHHKUju9uuXUc // chart data
&chxt=x,y // axis
&chxl=0:|0|1|2|3|4|5| // axis labels
&chs=873x200 // size

```

**[Use Image-Charts for free
![](https://camo.githubusercontent.com/57ccc0c276d8f3a625355e0311545f619fc26ea9ed6d27097301bdf76d7484e6/68747470733a2f2f696d6167652d6368617274732e636f6d2f63686172743f6368743d6c63266368643d733a634541454c464a4848484b556a75397575585563266368636f3d3736413446422663686c733d322e302c302e302c302e3026636878743d782c79266368786c3d303a253743302537433125374332253743332537433425374335253743313a253743302537433530253743313030266368733d38373378323030266368673d32302c3530266368616e266368663d62302c6c672c39302c3443413446352c302e312c4333373144332c302e382c4541343639452c31)](https://image-charts.com?gh_mailchecker)**

---

Upgrade
=======

[](#upgrade)

From 3.x to 4.x
---------------

[](#from-3x-to-4x)

- PHP

```
# import using the fully qualified name.
use Fgribreau\MailChecker;

// ...
echo MailChecker::isValid('myemail@yopmail.com');
```

From 1.x to 3.x
---------------

[](#from-1x-to-3x)

Mailchecker public API has been normalized, here are the changes:

- NodeJS/JavaScript: `MailChecker(email)` -&gt; `MailChecker.isValid(email)`
- PHP: `MailChecker($email)` -&gt; `MailChecker::isValid($email)`
- Python

```
import MailChecker
m = MailChecker.MailChecker()
if not m.is_valid('bla@example.com'):
  # ...
```

became:

```
import MailChecker
if not MailChecker.is_valid('bla@example.com'):
  # ...
```

---

MailChecker currently supports:

- [NodeJS](https://github.com/FGRibreau/mailchecker/tree/master/platform/node) (CommonJS, [Instructions](#nodejs))
- [JavaScript](https://github.com/FGRibreau/mailchecker/tree/master/platform/javascript) (Client-Side, [Instructions](#javascript))
- [PHP](https://github.com/FGRibreau/mailchecker/tree/master/platform/php) ([Instructions](#php))
- [Python](https://github.com/FGRibreau/mailchecker/tree/master/platform/python) ([Instructions](#python))
- [Ruby](https://github.com/FGRibreau/mailchecker/tree/master/platform/ruby) ([Instructions](#ruby))
- [Rust](https://github.com/FGRibreau/mailchecker/tree/master/platform/rust) ([Instructions](#rust))
- [Elixir](https://github.com/FGRibreau/mailchecker/tree/master/platform/elixir) ([Instructions](#elixir))
- [Clojure](https://github.com/FGRibreau/mailchecker/tree/master/platform/clojure) ([Instructions](#clojure))
- [Go](https://github.com/FGRibreau/mailchecker/tree/master/platform/go) ([Instructions](#go))
- **Easily add support for your own language with MailChecker template system and [send us a pull-request!](https://github.com/FGRibreau/mailchecker/fork_select)**

---

Usage
-----

[](#usage)

### NodeJS

[](#nodejs)

```
var MailChecker = require('mailchecker');

if(!MailChecker.isValid('myemail@yopmail.com')){
  console.error('O RLY !');
  process.exit(1);
}

if(!MailChecker.isValid('myemail.com')){
  console.error('O RLY !');
  process.exit(1);
}
```

### JavaScript

[](#javascript)

```

if(!MailChecker.isValid('myemail@yopmail.com')){
  console.error('O RLY !');
}

if(!MailChecker.isValid('myemail.com')){
  console.error('O RLY !');
}

```

### PHP

[](#php)

```
use Fgribreau\MailChecker;

require __DIR__ . '/vendor/autoload.php';

if(!MailChecker::isValid('myemail@yopmail.com')){
  die('O RLY !');
}

if(!MailChecker::isValid('myemail.com')){
  die('O RLY !');
}
```

### Python

[](#python)

```
pip install mailchecker

```

```
# no package yet; just drop in MailChecker.py where you want to use it.
from MailChecker import MailChecker

if not MailChecker.is_valid('bla@example.com'):
    print("O RLY !")
```

Django validator:

### Ruby

[](#ruby)

```
require 'mail_checker'

unless MailChecker.valid?('myemail@yopmail.com')
  fail('O RLY!')
end
```

### Rust

[](#rust)

```
 extern crate mailchecker;

assert_eq!(true, mailchecker::is_valid("plop@plop.com"));
assert_eq!(false, mailchecker::is_valid("\nok@gmail.com\n"));
assert_eq!(false, mailchecker::is_valid("ok@guerrillamailblock.com"));
```

### Elixir

[](#elixir)

```
Code.require_file("mail_checker.ex", "mailchecker/platform/elixir/")

unless MailChecker.valid?("myemail@yopmail.com") do
  raise "O RLY !"
end

unless MailChecker.valid?("myemail.com") do
  raise "O RLY !"
end
```

### Clojure

[](#clojure)

```
; no package yet; just drop in mailchecker.clj where you want to use it.
(load-file "platform/clojure/mailchecker.clj")

(if (not (mailchecker/valid? "myemail@yopmail.com"))
  (throw (Throwable. "O RLY!")))

(if (not (mailchecker/valid? "myemail.com"))
  (throw (Throwable. "O RLY!")))
```

### Go

[](#go)

```
package main

import (
  "log"

  mail_checker "github.com/FGRibreau/mailchecker/v6/platform/go"
)

if !mail_checker.IsValid("myemail@yopmail.com") {
  log.Fatal("O RLY !");
}

if !mail_checker.IsValid("myemail.com") {
  log.Fatal("O RLY !")
}
```

---

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

[](#installation)

Go

```
go get github.com/FGRibreau/mailchecker/v6/platform/go
```

NodeJS/JavaScript

```
npm install mailchecker
```

Ruby

```
gem install ruby-mailchecker
```

PHP

```
composer require fgribreau/mailchecker
```

**We accept pull-requests for other package manager**.

Data sources
------------

[](#data-sources)

[TorVPN](http://torvpn.com/temporaryemail.html)

```
  $('td', 'table:last').map(function(){
    return this.innerText;
  }).toArray();
```

[BloggingWV](http://www.bloggingwv.com/big-list-of-disposable-temporary-email-services/)

```
  Array.prototype.slice.call(document.querySelectorAll('.entry > ul > li a')).map(function(el){return el.innerText});
```

... [please add your own dataset to list.txt](./list.txt).

Regenerate libraries from list.txt
----------------------------------

[](#regenerate-libraries-from-listtxt)

Just run (requires NodeJS):

```
npm run build

```

Development
-----------

[](#development)

Development environment requires [docker](https://www.docker.com/).

```
# install and setup every language dependencies in parallel through docker
npm install

# run every language setup in parallel through docker
npm run setup

# run every language tests in parallel through docker
npm test
```

Backers
-------

[](#backers)

### Maintainers

[](#maintainers)

These amazing people are maintaining this project:

- [Francois-Guillaume Ribreau](http://bit.ly/2c7uFJq)

### Sponsors

[](#sponsors)

No sponsors yet! Will you be the first?

[![Patreon donate button](https://camo.githubusercontent.com/f9e075baad95563481d35174d43ef50757281abb6bc795d0f473fad452afa030/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617472656f6e2d646f6e6174652d79656c6c6f772e737667)](https://patreon.com/fgribreau "Donate to this project using Patreon")[![Gratipay donate button](https://camo.githubusercontent.com/0eeae019980adaa1dc64842cfb01f3d738c688982ea4eb58094047011cb46704/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f67726174697061792d646f6e6174652d79656c6c6f772e737667)](https://gratipay.com/fgribreau "Donate weekly to this project using Gratipay")[![Flattr donate button](https://camo.githubusercontent.com/d79e412f78041f87e203449041ad81848a8405cf0f3c622c51e3bad0c2a4b599/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666c617474722d646f6e6174652d79656c6c6f772e737667)](https://flattr.com/profile/fgribreau "Donate to this project using Flattr")[![PayPal donate button](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://fgribreau.me/paypal "Donate to this project using Paypal")[![crypto donate button](https://camo.githubusercontent.com/ca55308e1c67d91f604d7b4c83642813c26643d44b20731d758d497ff9145f4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63727970746f2d646f6e6174652d79656c6c6f772e737667)](https://www.coinbase.com/fgribreau "Donate to this project using Cryptocurrency")

### Contributors

[](#contributors)

These amazing people have contributed code to this project:

- [Owen Stephens](http://www.owenstephens.co.uk)
- [Jacob Burenstam Linder](http://jacobburenstam.com)
- [Herman Slatman](http://hermanslatman.nl)
- [trisix](https://github.com/trisix) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=trisix "View the GitHub contributions of trisix on repository FGRibreau/mailchecker")
- [Greenkeeper](http://greenkeeper.io/)
- [Dustin Clark](http://wusty.io)
- [Anton Zhiyanov](http://antonz.ru/)
- [Bruel Nicolas](https://github.com/NBruel) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=NBruel "View the GitHub contributions of Bruel Nicolas on repository FGRibreau/mailchecker")
- [Robin](https://github.com/R-J) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=R-J "View the GitHub contributions of Robin on repository FGRibreau/mailchecker")
- [Spir](https://github.com/Spir) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=Spir "View the GitHub contributions of Spir on repository FGRibreau/mailchecker")
- [Vincent Giersch](http://flat.io)
- [Adrian Carolli](http://adriancarolli.surge.sh/) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=watadarkstar "View the GitHub contributions of Adrian Carolli on repository FGRibreau/mailchecker")
- [Dave Powers](http://djpowers.github.io)
- [Frank Phillips](https://github.com/frankydp) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=frankydp "View the GitHub contributions of Frank Phillips on repository FGRibreau/mailchecker")
- [LuckyDino](https://github.com/LuckyDino) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=LuckyDino "View the GitHub contributions of LuckyDino on repository FGRibreau/mailchecker")
- [ven](https://github.com/vendethiel) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=vendethiel "View the GitHub contributions of ven on repository FGRibreau/mailchecker")
- [Romain Gay](http://www.linkedin.com/in/romaingay)
- [Sebastian Cohnen](http://stormforger.com)
- [Dalai](https://github.com/dav1a1223) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=dav1a1223 "View the GitHub contributions of Dalai on repository FGRibreau/mailchecker")
- [quaswex](https://github.com/quaswex) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=quaswex "View the GitHub contributions of quaswex on repository FGRibreau/mailchecker")
- [sxyuan](https://github.com/sxyuan) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=sxyuan "View the GitHub contributions of sxyuan on repository FGRibreau/mailchecker")
- [Francois-Guillaume Ribreau](http://bit.ly/2c7uFJq)
- [Dusty](http://dusty.wtf) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=dustywusty "View the GitHub contributions of Dusty on repository FGRibreau/mailchecker")
- [larsvegas](http://synpro.io) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=larsvegas "View the GitHub contributions of larsvegas on repository FGRibreau/mailchecker")
- [Zeeshan Muhammad](zeeshanmuhammad.com)
- [kkleejoe](https://github.com/kkleejoe) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=kkleejoe "View the GitHub contributions of kkleejoe on repository FGRibreau/mailchecker")
- [Luiz Freneda](http://www.freneda.com.br)
- [thorinisme](https://github.com/thorinisme) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=thorinisme "View the GitHub contributions of thorinisme on repository FGRibreau/mailchecker")
- [Liudas Šumskas](https://github.com/Outsidaz) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=Outsidaz "View the GitHub contributions of Liudas Šumskas on repository FGRibreau/mailchecker")
- [Alexander](https://github.com/Wapweb) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=Wapweb "View the GitHub contributions of Alexander on repository FGRibreau/mailchecker")
- [Alex Dom￸aki￸dis](http://gitlab.com/datio/)
- [Carlos Rios](http://zanaca.com)
- [Jacek Bzdak](https://github.com/jbzdak) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=jbzdak "View the GitHub contributions of Jacek Bzdak on repository FGRibreau/mailchecker")
- [D](https://github.com/dustywusty) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=dustywusty "View the GitHub contributions of D on repository FGRibreau/mailchecker")
- [Jonas Haag](http://cashlink.io)
- [￸A￸l￸e￸x D￸o￸m￸a￸k￸i￸d￸i￸s](http://alex.domakidis.com/) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=datio "View the GitHub contributions of ￸A￸l￸e￸x D￸o￸m￸a￸k￸i￸d￸i￸s on repository FGRibreau/mailchecker")
- [Dan McGregor](https://github.com/mcgregordan) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=mcgregordan "View the GitHub contributions of Dan McGregor on repository FGRibreau/mailchecker")
- Thiago Rodrigues
- [Dilli Labs LLC](http://www.dillilabs.com)
- [Kieron Lawson](http://spokephone.com)
- [Kslr](http://kslr.org)
- [Lint](http://C0derLint.github.io)
- [chadliu23](https://github.com/chadliu23) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=chadliu23 "View the GitHub contributions of chadliu23 on repository FGRibreau/mailchecker")
- [milkyklim](http://t.me/milkyklim)
- [Sharat MR](https://github.com/cosmosgenius) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=cosmosgenius "View the GitHub contributions of Sharat MR on repository FGRibreau/mailchecker")
- [Nicolas Perraud](https://github.com/nicolasPerraud) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=nicolasPerraud "View the GitHub contributions of Nicolas Perraud on repository FGRibreau/mailchecker")
- [tbdmainrepo](https://github.com/tbdmainrepo) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=tbdmainrepo "View the GitHub contributions of tbdmainrepo on repository FGRibreau/mailchecker")
- [Kslr](https://github.com/kslr) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=kslr "View the GitHub contributions of Kslr on repository FGRibreau/mailchecker")
- [Fabio Caccamo](http://fabiocaccamo.com/)
- [cyril souillard](https://github.com/nayluge) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=nayluge "View the GitHub contributions of cyril souillard on repository FGRibreau/mailchecker")
- [Grégoire Pineau](http://blog.lyrixx.info)
- [Bruno Bossola](meterian.io)
- [florian-crtl](https://github.com/florian-crtl) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=florian-crtl "View the GitHub contributions of florian-crtl on repository FGRibreau/mailchecker")
- [mikeyzm](http://aneveningcalm.com)
- [Grégoire Pineau](http://lyrixx.info/)
- [alonga](https://github.com/alongat) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=alongat "View the GitHub contributions of alonga on repository FGRibreau/mailchecker")
- [Vitalii Tverdokhlib](nitralabs.com) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=vitaliytv "View the GitHub contributions of Vitalii Tverdokhlib on repository FGRibreau/mailchecker")
- [Francis Chuang](https://github.com/F21) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=F21 "View the GitHub contributions of Francis Chuang on repository FGRibreau/mailchecker")
- [mikeyzm](http://mikeyzm.cn) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=mikeyzm "View the GitHub contributions of mikeyzm on repository FGRibreau/mailchecker")
- [Pascal Vizeli](http://www.syshack.ch)
- [Caroline](https://github.com/carolineBda) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=carolineBda "View the GitHub contributions of Caroline on repository FGRibreau/mailchecker")
- [Daniel Mihai](http://danielmihai.ro)
- [HWVS](https://github.com/hwvs) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=hwvs "View the GitHub contributions of HWVS on repository FGRibreau/mailchecker")
- [seb's](https://github.com/sydneyitguy) — [view contributions](https://github.com/FGRibreau/mailchecker/commits?author=sydneyitguy "View the GitHub contributions of seb's on repository FGRibreau/mailchecker")
- [Chigusa0w0](http://bug.is)
- [Maki](http://cutelab.space)

[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/FGRibreau/mailchecker/blob/master/CONTRIBUTING.md#files)

[Changelog](/CHANGELOG.md)
--------------------------

[](#changelog)

License
-------

[](#license)

Unless stated otherwise all works are:

- Copyright © [Francois-Guillaume Ribreau](http://fgribreau.com)

and licensed under:

- [MIT License](http://spdx.org/licenses/MIT.html)

###  Health Score

74

—

ExcellentBetter than 100% of packages

Maintenance86

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community41

Growing community involvement

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 76.2% 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 ~21 days

Recently: every ~95 days

Total

171

Last Release

73d ago

Major Versions

v1.6.3 → v2.0.02016-03-19

v2.0.1 → v3.0.02016-03-21

v3.3.17 → v4.0.02020-11-26

v4.1.19 → v5.0.02022-08-04

v5.0.9 → v6.0.12023-11-12

PHP version history (2 changes)v4.0.0PHP &gt;=7.3

v6.0.17PHP &gt;=8.1

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/4ad8d00e347aba7a4ba4f7ca8c7bed26f4469b88d930c0628beef5f17278bcc8?d=identicon)[FGRibreau](/maintainers/FGRibreau)

---

Top Contributors

[![FGRibreau](https://avatars.githubusercontent.com/u/138050?v=4)](https://github.com/FGRibreau "FGRibreau (1537 commits)")[![Buffele](https://avatars.githubusercontent.com/u/3849161?v=4)](https://github.com/Buffele "Buffele (208 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (51 commits)")[![choznerol](https://avatars.githubusercontent.com/u/12410942?v=4)](https://github.com/choznerol "choznerol (22 commits)")[![owst](https://avatars.githubusercontent.com/u/117234?v=4)](https://github.com/owst "owst (19 commits)")[![nalgeon](https://avatars.githubusercontent.com/u/2946182?v=4)](https://github.com/nalgeon "nalgeon (19 commits)")[![gierschv](https://avatars.githubusercontent.com/u/396537?v=4)](https://github.com/gierschv "gierschv (13 commits)")[![pvizeli](https://avatars.githubusercontent.com/u/15338540?v=4)](https://github.com/pvizeli "pvizeli (12 commits)")[![buren](https://avatars.githubusercontent.com/u/922411?v=4)](https://github.com/buren "buren (11 commits)")[![safakocamanoglu](https://avatars.githubusercontent.com/u/68944910?v=4)](https://github.com/safakocamanoglu "safakocamanoglu (11 commits)")[![bbossola](https://avatars.githubusercontent.com/u/186370?v=4)](https://github.com/bbossola "bbossola (11 commits)")[![burakyilmaz321](https://avatars.githubusercontent.com/u/8701898?v=4)](https://github.com/burakyilmaz321 "burakyilmaz321 (9 commits)")[![trisix](https://avatars.githubusercontent.com/u/204040?v=4)](https://github.com/trisix "trisix (8 commits)")[![hslatman](https://avatars.githubusercontent.com/u/1219780?v=4)](https://github.com/hslatman "hslatman (8 commits)")[![pointmax](https://avatars.githubusercontent.com/u/49361135?v=4)](https://github.com/pointmax "pointmax (7 commits)")[![hansott](https://avatars.githubusercontent.com/u/3886384?v=4)](https://github.com/hansott "hansott (7 commits)")[![ftoucch](https://avatars.githubusercontent.com/u/73644238?v=4)](https://github.com/ftoucch "ftoucch (7 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (6 commits)")[![ali-master](https://avatars.githubusercontent.com/u/9049092?v=4)](https://github.com/ali-master "ali-master (6 commits)")[![genygilles](https://avatars.githubusercontent.com/u/51641167?v=4)](https://github.com/genygilles "genygilles (6 commits)")

---

Tags

emailemail-validationemail-verificationemailfakedetectiondisposable

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fgribreau-mailchecker/health.svg)

```
[![Health](https://phpackages.com/badges/fgribreau-mailchecker/health.svg)](https://phpackages.com/packages/fgribreau-mailchecker)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[beeyev/disposable-email-filter-php

Disposable (temporary/throwaway/fake) email detection library. Automatically updated every week.

70151.7k2](/packages/beeyev-disposable-email-filter-php)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[kirschbaum-development/mail-intercept

A test package for intercepting email sent from Laravel

112407.9k1](/packages/kirschbaum-development-mail-intercept)[icecave/isolator

Dependency injection for global functions.

371.3M29](/packages/icecave-isolator)[timacdonald/callable-fake

A testing utility that allows you to fake and capture invokations of a callable / Closure

4519.5k3](/packages/timacdonald-callable-fake)

PHPackages © 2026

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