/disposable-email-domains

A list of disposable email domains / Liste de domaines d'emails temporaires ou jetables

Primary LanguagePHPMIT LicenseMIT

Disposable Email Domains list

Build Status

A simple list of domain names of disposable emails. The list contains 97 043 domain names.

Installation

composer require stephanebour/disposable-email-domains

How to use

retrieve the list as an array :

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

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

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