PHPackages                             max-stan/magento2-disposable-email-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. max-stan/magento2-disposable-email-validator

ActiveMagento2-module[Mail &amp; Notifications](/categories/mail)

max-stan/magento2-disposable-email-validator
============================================

Adds ability to block against 90,000+ known disposable/temporary email domains during customer registration and newsletter subscription.

1.0.0(3mo ago)011MITPHPPHP &gt;=8.2

Since Jan 31Pushed 3mo agoCompare

[ Source](https://github.com/max-stan/magento2-disposable-email-validator)[ Packagist](https://packagist.org/packages/max-stan/magento2-disposable-email-validator)[ RSS](/packages/max-stan-magento2-disposable-email-validator/feed)WikiDiscussions master Synced 1mo ago

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

Magento 2 Disposable Email Validator
====================================

[](#magento-2-disposable-email-validator)

> Adds ability to block against 90,000+ known disposable/temporary email domains during customer registration.

[![Packagist](https://camo.githubusercontent.com/7bbbf9fdbaa45cdece67bc7e92f37be2c14b101e8eed2ef23df10de2ed7715c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61782d7374616e2f6d6167656e746f322d646973706f7361626c652d656d61696c2d76616c696461746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/max-stan/magento2-disposable-email-validator)[![Packagist](https://camo.githubusercontent.com/e0acfc05b884dcc6a4cb634a18ea7ce413fd9ce71a9c57c3e020f9b189db53e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61782d7374616e2f6d6167656e746f322d646973706f7361626c652d656d61696c2d76616c696461746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/max-stan/magento2-disposable-email-validator)[![Packagist](https://camo.githubusercontent.com/c0e2b57aaa11daf24ec649c0e291d3326c497aa65d0a1dbc4b9157a75b219a86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d61782d7374616e2f6d6167656e746f322d646973706f7361626c652d656d61696c2d76616c696461746f723f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/max-stan/magento2-disposable-email-validator)

Description
-----------

[](#description)

Disposable email addresses (like tempmail.com, guerrillamail.com, etc.) are commonly used for spam registrations, fake accounts, and abuse. This module validates emails against 90,000+ known disposable email domains and blocks them during customer registration.

**Recommended usage:** By default, Magento does not require email confirmation during customer registration. Without email confirmation enabled, blocking disposable emails has limited effect — users can still register with any fake but valid-looking email address. I recommend enabling this module alongside Magento's email confirmation feature (**Stores → Configuration → Customers → Customer Configuration → Create New Account Options → Require Emails Confirmation**).

### Features

[](#features)

- Validates against 90,000+ disposable email domains (auto-updated via composer)
- Custom blocklist — add your own domains to block
- Whitelist support — allow specific domains to bypass validation

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

[](#installation)

To install module in your Magento 2 project, follow these steps:

```
composer require max-stan/magento2-disposable-email-validator
bin/magento mod:en MaxStan_DisposableEmailValidator
bin/magento setup:upgrade
bin/magento setup:di:compile
```

Magento Compatibility
---------------------

[](#magento-compatibility)

- Magento 2.4.x
- PHP 8.2+

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

[](#contributing)

Contributions are welcome! If you find a bug or have a feature request, feel free to open an issue or submit a pull request.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance81

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c20a11c23c52d15e5fa5515839af5acdd5c0e6a388f0c34f1b5ea7dce82283e?d=identicon)[max-stan](/maintainers/max-stan)

---

Top Contributors

[![max-stan](https://avatars.githubusercontent.com/u/80004323?v=4)](https://github.com/max-stan "max-stan (3 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (1 commits)")

---

Tags

emailtemporaryblockmagento2disposable

### Embed Badge

![Health badge](/badges/max-stan-magento2-disposable-email-validator/health.svg)

```
[![Health](https://phpackages.com/badges/max-stan-magento2-disposable-email-validator/health.svg)](https://phpackages.com/packages/max-stan-magento2-disposable-email-validator)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[stymiee/email-validator

A robust PHP 7.4+ email validation library that extends beyond basic validation with MX record checks, disposable email detection, and free email provider validation. Features include strict typing, custom validator support, internationalization (i18n), and an extensible architecture. Perfect for applications requiring thorough email verification with customizable validation rules.

32426.6k1](/packages/stymiee-email-validator)[kiwicommerce/module-enhanced-smtp

Magento 2 - Enhanced SMTP

1754.1k](/packages/kiwicommerce-module-enhanced-smtp)[fruitcake/magento2-email-advanced-config

Magento2 Advanced SMTP Configuration

158.0k](/packages/fruitcake-magento2-email-advanced-config)

PHPackages © 2026

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