PHPackages                             runner/email-address-filter - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. runner/email-address-filter

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

runner/email-address-filter
===========================

v1.0.3(9y ago)172702MITPHPPHP &gt;=5.6

Since Jun 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/RunnerLee/email-address-filter)[ Packagist](https://packagist.org/packages/runner/email-address-filter)[ RSS](/packages/runner-email-address-filter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

email-address-filter
====================

[](#email-address-filter)

邮箱地址检查

检查邮箱地址的格式，并使用已经检查过MX解析的域名列表生成字典检查邮箱地址的域名是否有效（白名单）。 如果域名不在字典中，则查询域名是否有mx解析记录，如果有则将改域名缓存进临时表。

Install
-------

[](#install)

```

composer -vvv require runner/email-address-filter

```

Usage
-----

[](#usage)

#### 生成字典

[](#生成字典)

```

\Runner\EmailAddressFilter\Builder::build(__DIR__ . '/data/domain.list', __DIR__ . '/data/dict.list');

```

#### 调用

[](#调用)

```

$filter = new \Runner\EmailAddressFilter\EmailAddressFilter(__DIR__ . '/data/dict.list', __DIR__ . '/data/tempTable.list');

var_dump($filter->filterWithQueryDns('runnerleer@gmail.com'));

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~20 days

Total

5

Last Release

3574d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15872de2a16678788e3008d3874fbffe0b136088bca5ae96974189a357f99222?d=identicon)[RunnerLee](/maintainers/RunnerLee)

---

Top Contributors

[![RunnerLee](https://avatars.githubusercontent.com/u/7436388?v=4)](https://github.com/RunnerLee "RunnerLee (7 commits)")

### Embed Badge

![Health badge](/badges/runner-email-address-filter/health.svg)

```
[![Health](https://phpackages.com/badges/runner-email-address-filter/health.svg)](https://phpackages.com/packages/runner-email-address-filter)
```

PHPackages © 2026

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