PHPackages                             timwassenburg/laravel-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. [CLI &amp; Console](/categories/cli)
4. /
5. timwassenburg/laravel-disposable-email-validator

ActiveLibrary[CLI &amp; Console](/categories/cli)

timwassenburg/laravel-disposable-email-validator
================================================

Validate if the input is an disposable email address

v1.0.2(4y ago)31111MITPHP

Since Oct 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/timwassenburg/laravel-disposable-email-validator)[ Packagist](https://packagist.org/packages/timwassenburg/laravel-disposable-email-validator)[ Docs](https://github.com/timwassenburg/laravel-disposable-email-validator)[ RSS](/packages/timwassenburg-laravel-disposable-email-validator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

[![Logo](img/banner.png)](img/banner.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3006e1adbfb0fcb1f4083e7c725ea4357f17f69a4c915a9c97071d6f7e815233/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696d77617373656e627572672f6c61726176656c2d646973706f7361626c652d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/timwassenburg/laravel-disposable-email-validator)[![Total Downloads](https://camo.githubusercontent.com/964422aa4518f377b90ccdc138136f2d462d19b228c3b4629d8a762f203eaccd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696d77617373656e627572672f6c61726176656c2d646973706f7361626c652d656d61696c2d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/timwassenburg/laravel-disposable-email-validator)[![License](https://camo.githubusercontent.com/0a7a72bac56ab3056ffec34cb681284d484367fbcaf5665004157458398872f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74696d77617373656e627572672f6c61726176656c2d646973706f7361626c652d656d61696c2d76616c696461746f72)](https://packagist.org/packages/timwassenburg/laravel-disposable-email-validator)

---

Table of Contents
-----------------

[](#table-of-contents)

1. [Installation](#installation)
2. [Usage](#usage)
3. [Translations](#translations)
4. [Adding more disposable email domains](#adding-more-disposable-email-domains)
5. [Caching](#caching)
6. [Contributing](#contributing)
7. [License](#license)

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

[](#installation)

Run composer require to install the package.

```
composer require timwassenburg/laravel-disposable-email-validator
```

Usage
-----

[](#usage)

Add the disposable-email rule to input you want to check. Keep in mind that the `disposable-email` rule doesn't check if the email is valid so it is recommended to use it in combination with the `email` validation rule.

```
'email' => 'required|email|disposable-email'
```

Translations
------------

[](#translations)

Publish the translations with the following command.

```
php artisan vendor:publish --provider="TimWassenburg\DisposableEmailValidator\DisposableEmailServiceProvider" --tag="translations"
```

You can now add or update translations in the `resources/lang/vendor/disposable-email` folder.

Adding more disposable email domains
------------------------------------

[](#adding-more-disposable-email-domains)

The config contains all domains the validator is checking, you can publish the config and extend the list by adding more domains.

```
php artisan vendor:publish --provider="TimWassenburg\DisposableEmailValidator\DisposableEmailServiceProvider" --tag="config"
```

Caching
-------

[](#caching)

Although this might be obvious, just a small reminder. The list of disposable emails is loaded from a config file. For a production environment it is recommended to cache the config for optimal performance. You can use the default Laravel config caching for this.

```
php artisan config:cache
```

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

[](#contributing)

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Every ~74 days

Total

3

Last Release

1558d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/18ef476c8a9d76d44ab65724fb4be330c1c4ce90e2be793bc4628b85bd0d5ba5?d=identicon)[timwass](/maintainers/timwass)

---

Top Contributors

[![timwassenburg](https://avatars.githubusercontent.com/u/75377381?v=4)](https://github.com/timwassenburg "timwassenburg (8 commits)")

---

Tags

disposable-emailemailformlaravelphprulevalidationphpclilaravelvalidationemail

### Embed Badge

![Health badge](/badges/timwassenburg-laravel-disposable-email-validator/health.svg)

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

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815424.6k52](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16357.3k8](/packages/nunomaduro-laravel-console-dusk)[yoeunes/regex-parser

A powerful PCRE regex parser with lexer, AST builder, validation, ReDoS analysis, and syntax highlighting. Zero dependencies, blazing fast, and production-ready.

2980.9k8](/packages/yoeunes-regex-parser)[spresnac/laravel-create-user-cli

Create a user-entry from cli with artisan

2356.5k1](/packages/spresnac-laravel-create-user-cli)[renoki-co/php-helm

PHP Helm Processor is a process wrapper for Kubernetes' Helm v3 CLI. You can run programmatically Helm v3 commands, directly from PHP, with a simple syntax.

1310.6k](/packages/renoki-co-php-helm)

PHPackages © 2026

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