PHPackages                             devnix/mailcheck - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. devnix/mailcheck

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devnix/mailcheck
================

Provide email suggestions based on multiple dictionaries

v0.2(5y ago)68.5k3[2 issues](https://github.com/devnix/mailcheck/issues)GPL-3.0-or-laterPHPPHP &gt;=7.1

Since Nov 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/devnix/mailcheck)[ Packagist](https://packagist.org/packages/devnix/mailcheck)[ RSS](/packages/devnix-mailcheck/feed)WikiDiscussions master Synced 3w ago

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

Mailcheck for PHP
=================

[](#mailcheck-for-php)

[![](https://github.com/devnix/mailcheck/workflows/Tests/badge.svg)](https://github.com/devnix/mailcheck/actions?query=workflow%3ATests)

Validate and suggest emails for your email inputs

Disclaimer
----------

[](#disclaimer)

This library uses by default a public data source to suggest various know email providers.

As this list is pretty much a work in progress you may be missing some domains, so please feel free to open an issue or a pull request to improve it.

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

[](#installation)

`composer require devnix/mailcheck`

Usage
-----

[](#usage)

You just need to initialize an instance to get a shiny suggestion service!

```
use Devnix\Mailcheck\Mailcheck;

$mailcheck = new Mailcheck();
```

Then you can ask for an array of suggestions, ordered by Levenshtein distance...

```
$mailcheck->suggest('example@gmil.com');
```

```
array:5 [
  0 => "example@gmail.com"
  1 => "example@gmx.com"
  2 => "example@mail.com"
  3 => "example@email.com"
  4 => "example@ymail.com"
]

```

...or just the first coincidence

```
$mailcheck->suggestOne('example@gmil.com');
```

```
"example@gmail.com"

```

Contributing
------------

[](#contributing)

You can help by reporting bugs, submitting pull requests, providing feedback about your needs or bad suggestions.

You can execute all the tests by rugging `composer test`. We use tools like [PHPStan](https://github.com/phpstan/phpstan), [PHPUnit](https://github.com/sebastianbergmann/phpunit), and [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer). We like to follow the [Symfony Coding Standards](https://symfony.com/doc/current/contributing/code/standards.html).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~468 days

Total

2

Last Release

1956d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/462de3bc6b5b394cc968eb74fc519cb923d18903f79cad6dc0397f9607b41f36?d=identicon)[DevNIX](/maintainers/DevNIX)

---

Top Contributors

[![devnix](https://avatars.githubusercontent.com/u/1777519?v=4)](https://github.com/devnix "devnix (15 commits)")[![hotmeteor](https://avatars.githubusercontent.com/u/378585?v=4)](https://github.com/hotmeteor "hotmeteor (2 commits)")[![nclsHart](https://avatars.githubusercontent.com/u/833625?v=4)](https://github.com/nclsHart "nclsHart (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/devnix-mailcheck/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[symfony/mailer

Helps sending emails

1.6k409.1M1.4k](/packages/symfony-mailer)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

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