PHPackages                             ely/yii2-tempmail-validator - 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. ely/yii2-tempmail-validator

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

ely/yii2-tempmail-validator
===========================

Yii2 validator to prevent using tempmail services or any variable domains

2.0.0(8y ago)15371MITPHPPHP &gt;=7

Since May 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/elyby/yii2-tempmail-validator)[ Packagist](https://packagist.org/packages/ely/yii2-tempmail-validator)[ Docs](https://github.com/elyby/yii2-tempmail-validator)[ RSS](/packages/ely-yii2-tempmail-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Yii2 Tempmail Validator
=======================

[](#yii2-tempmail-validator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/740b2cdedade504a2c26e10a519939aa550d3c0efb9a38d28b15f2fb840bfaa7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c792f796969322d74656d706d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ely/yii2-tempmail-validator)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/0fd8a4e64e9867a8d83c42067f5c6a0e3825ebbd77f044a2ff430bc3e7d94991/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c792f796969322d74656d706d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ely/yii2-tempmail-validator)

Yii2 validator, based on [daveearley/Email-Validation-Tool](https://github.com/daveearley/Email-Validation-Tool)to protect your site from users, who use 10-minutes mail services.

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

[](#installation)

Install the latest version with

```
$ composer require ely/yii2-tempmail-validator
```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your models:

```
public function rules()
{
    return [
        [['email'], \Ely\Yii2\TempmailValidator::class],
    ];
}
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

This package was designed and developed within the [Ely.by](http://ely.by) project team. We also thank all the [contributors](link-contributors) for their help.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

Total

2

Last Release

3144d ago

Major Versions

1.0.0 → 2.0.02017-09-30

### Community

Maintainers

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

---

Top Contributors

[![erickskrauch](https://avatars.githubusercontent.com/u/4787256?v=4)](https://github.com/erickskrauch "erickskrauch (4 commits)")[![Octol1ttle](https://avatars.githubusercontent.com/u/61277953?v=4)](https://github.com/Octol1ttle "Octol1ttle (1 commits)")

---

Tags

validationemailyii2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ely-yii2-tempmail-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ely-yii2-tempmail-validator/health.svg)](https://phpackages.com/packages/ely-yii2-tempmail-validator)
```

###  Alternatives

[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[kartik-v/yii2-validators

Enhanced Yii2 model validator components / utilities for Yii2 Framework

21137.9k](/packages/kartik-v-yii2-validators)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)[rmrevin/yii2-postman

Mail module for Yii2.

2612.3k](/packages/rmrevin-yii2-postman)

PHPackages © 2026

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