PHPackages                             marcel-strahl/temporary-email-validator-bundle - 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. marcel-strahl/temporary-email-validator-bundle

AbandonedArchivedSymfony-bundle[Mail &amp; Notifications](/categories/mail)

marcel-strahl/temporary-email-validator-bundle
==============================================

add temporary email address validator for symfony

v1.1.0(4y ago)057MITPHPPHP ^7.4|^8.0|^8.1

Since Jun 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Dropelikeit/temporary-email-validator-bundle)[ Packagist](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle)[ RSS](/packages/marcel-strahl-temporary-email-validator-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (14)Versions (4)Used By (0)

\##Recognition of temporary e-mail addresses as validator for Symfony

[![Latest Stable Version](https://camo.githubusercontent.com/1d1286241b526174c7d3cdf08664a7d859b09af2a60782ad78dfc852168073f6/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f76)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle) [![Total Downloads](https://camo.githubusercontent.com/8baf9b7ff3e513c03a6d49e4b8a252d8e8e3da6b51d5ed552f20ae3bf19c128c/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/d18e91fc041750fbeb6c50cd2b9804f5d921a05af7439f0dc909a9de303b6265/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle) [![License](https://camo.githubusercontent.com/48b7dfc514c7abdc6e1babc408805218049f837af4858c1fc3e524174c12d252/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f6c6963656e7365)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle)[![composer.lock](https://camo.githubusercontent.com/5ffe9281cfa81fbd6238c3602e9ddd9ecdd5eb81a88db303676ff144a2b8a6f6/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f636f6d706f7365726c6f636b)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle)[![License](https://camo.githubusercontent.com/48b7dfc514c7abdc6e1babc408805218049f837af4858c1fc3e524174c12d252/687474703a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f74656d706f726172792d656d61696c2d76616c696461746f722d62756e646c652f6c6963656e7365)](https://packagist.org/packages/marcel-strahl/temporary-email-validator-bundle)[![Gitworkflow](https://github.com/Dropelikeit/temporary-email-validator-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/Dropelikeit/temporary-email-validator-bundle/actions/workflows/ci.yml/badge.svg)

It is compatible and tested with PHP 8.+ on Symfony 5.x.

\###Installation:

```
composer require marcel-strahl/temporary-email-validator
```

If Symfony/Flex is not enabled, the bundle will not be loaded automatically. So it is necessary to enter this in the `config/bundes.php` yourself, that you can do with the following line:

```
return [
    // Some other bundles [...]
    MarcelStrahl\TemporaryEmailValidatorSymfony\TemporaryEmailValidatorBundle::class => ['all' => true],
];
```

You can easily use the validator via annotation with the help of the `doctrine/annotations` bundle. The following is an annotation example:

```
namespace App\Controller;

use MarcelStrahl\TemporaryEmailValidatorSymfony\Validator\IsNotTemporaryEmail;

final class TestDto
{
    /**
    * @IsNotTemporaryEmail
    */
    private string $email;

    private function __construct(string $email)
    {
        $this->email = $email;
    }

    public static function create(string $email): self
    {
        return new self($email);
    }

    public function getEmail(): string
    {
        return $this->email;
    }
}
```

The following is an attribute example:

```
     namespace App\Controller;

use MarcelStrahl\TemporaryEmailValidatorSymfony\Validator\IsNotTemporaryEmail;

final class TestDto
{
    #[IsNotTemporaryEmail]
    private string $email;

    private function __construct(string $email)
    {
        $this->email = $email;
    }

    public static function create(string $email): self
    {
        return new self($email);
    }

    public function getEmail(): string
    {
        return $this->email;
    }
}
```

\###Hint:

I am not the creator of the "Temporary Email Detection" but have changed the following package into a Symfony Validator!

Main Package Temporary E-Mail Detection:

Credits
-------

[](#credits)

- Marcel Strahl

License
-------

[](#license)

This bundle is under the MIT license.
For the whole copyright, see the [LICENSE](LICENSE) file distributed with this source code.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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 ~142 days

Total

3

Last Release

1556d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1466bcdcfaf07bd8e1f0fdf5b453c619e2a02adb85cd8aac6e39e0451ecaec?d=identicon)[Dropelikeit](/maintainers/Dropelikeit)

---

Top Contributors

[![Dropelikeit](https://avatars.githubusercontent.com/u/13794109?v=4)](https://github.com/Dropelikeit "Dropelikeit (6 commits)")

---

Tags

symfonyvalidatoremailtemporarytemporary email

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M733](/packages/sylius-sylius)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M201](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M563](/packages/shopware-core)

PHPackages © 2026

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