stephanebour/disposable-email-domains

This package is abandoned and no longer maintained. The author suggests using the inboxmaster/disposable-email-domains package instead.

A list of disposable email domains

v2.0.0 2025-02-12 23:38 UTC

This package is auto-updated.

Last update: 2025-02-12 23:45:59 UTC


README

A simple list of domain names of disposable emails. The list contains 184 904 domain names.

Installation

composer require inboxmaster/disposable-email-domains

How to use

retrieve the list as an array :

$domains = \InboxMaster\Disposable\Domains::all();

Check if the domain of an email is in the list:

if(\InboxMaster\Disposable\Domains::isDisposable('coucou@yopmail.com'))
{
    die('go away');
}