PHPackages                             emanueleminotto/temporary-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. emanueleminotto/temporary-email-validator

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

emanueleminotto/temporary-email-validator
=========================================

Symfony validator for temporary emails

1.0.0(9y ago)0437MITPHPPHP ^5.6 || ^7.0

Since Dec 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/EmanueleMinotto/temporary-email-validator)[ Packagist](https://packagist.org/packages/emanueleminotto/temporary-email-validator)[ Docs](https://github.com/EmanueleMinotto/temporary-email-validator)[ RSS](/packages/emanueleminotto-temporary-email-validator/feed)WikiDiscussions master Synced 1mo ago

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

Temporary Emails Validator
==========================

[](#temporary-emails-validator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/44e67fd3ce0bca08913d7fb77ecf820783cec6343c36b2d5b50c4408fdf79a2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f456d616e75656c654d696e6f74746f2f74656d706f726172792d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/EmanueleMinotto/temporary-email-validator)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/fab6fa2daa409ee8efc5433496343641f7b1ba68e2cc3c99e3441336ae5b07eb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f456d616e75656c654d696e6f74746f2f74656d706f726172792d656d61696c2d76616c696461746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/EmanueleMinotto/temporary-email-validator)[![Coverage Status](https://camo.githubusercontent.com/edd73f6f06887592835fc8f21197f7d37f9ae91223df4d241f28275a6bf67ccc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f456d616e75656c654d696e6f74746f2f74656d706f726172792d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/EmanueleMinotto/temporary-email-validator/code-structure)[![Quality Score](https://camo.githubusercontent.com/0f36765409357143902c2cf0c3ca1f41633c83713ca3616cdf3b7a9168fc7acb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f456d616e75656c654d696e6f74746f2f74656d706f726172792d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/EmanueleMinotto/temporary-email-validator)[![Total Downloads](https://camo.githubusercontent.com/61e3e3f034b085fce4d3a79c6b8ad0df0fbb5a2b1bc76e133dd8adac44603927/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f456d616e75656c654d696e6f74746f2f74656d706f726172792d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/EmanueleMinotto/temporary-email-validator)

Symfony validator for temporary emails, based on [andreis/disposable](https://github.com/andreis/disposable).

Install
-------

[](#install)

Via Composer

```
$ composer require emanueleminotto/temporary-email-validator
```

Usage
-----

[](#usage)

```
use EmanueleMinotto\TemporaryEmailValidator\NotTemporaryEmail;

$constraint = new NotTemporaryEmail();
// $constraint->message = your message

// use the validator to validate the value
$errorList = $this
    ->get('validator')
    ->validate('example@mail-temporaire.fr', $constraint);

$errorMessage = $errorList[0]->getMessage(); // The temporary email "example@mail-temporaire.fr" is not allowed.
```

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

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

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

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Emanuele Minotto](https://github.com/EmanueleMinotto)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b6fbd038f22a54716027eb7ce30c6cafd8e59c138ae58b3c2516c34ccfef7f?d=identicon)[EmanueleMinotto](/maintainers/EmanueleMinotto)

---

Top Contributors

[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (2 commits)")

---

Tags

symfonyemailtemporary emailvalidatory

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/emanueleminotto-temporary-email-validator/health.svg)

```
[![Health](https://phpackages.com/badges/emanueleminotto-temporary-email-validator/health.svg)](https://phpackages.com/packages/emanueleminotto-temporary-email-validator)
```

###  Alternatives

[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[railsware/mailtrap-php

The Mailtrap SDK provides methods for all API functions.

56770.5k](/packages/railsware-mailtrap-php)[robertotru/to-inline-style-email-bundle

A Symfony2 bundle for using the CssToInlineStyles translator by tijsverkoyen

59384.3k](/packages/robertotru-to-inline-style-email-bundle)[stampie/stampie-bundle

This bundle provides integration for Stampie Email Library

25222.1k](/packages/stampie-stampie-bundle)[symfony/fake-chat-notifier

Fake Chat (as email or log during development) Notifier Bridge.

10260.2k4](/packages/symfony-fake-chat-notifier)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)

PHPackages © 2026

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