Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 477 Bytes

File metadata and controls

26 lines (18 loc) · 477 Bytes

Disposable Email Domains list

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');
}