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)78.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 1w 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 43% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

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

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

[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[serendipity_hq/component-value-objects

A set of value objects to manage simple and composite values

20558.6k4](/packages/serendipity-hq-component-value-objects)[yosimitso/workingforumbundle

A complete forum bundle

425.3k](/packages/yosimitso-workingforumbundle)

PHPackages © 2026

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