Laravel Prevent Disposable Emails

If you are looking for Laravel Prevent Disposable Emails, I think this post can be helpful. I discovered one of the packages for that called EmailChecker.

How to Install

Install Via Composer:

composer require mattketmo/email-checker


How to Use

Use as providers and aliases inconfig/app.php –




'EmailChecker' => EmailChecker\Laravel\EmailCheckerFacade::class


Access Via Facade:

Access Via Container:

Make sure you have used top of your controller.

use EmailChecker


By default, this package already added more than 2k domains. If you need to add more domain to that list, just search the file name throwaway_domains.txt and add the domain that you want to prevent.