Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 637 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 637 Bytes

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('[email protected]'))
{
    die('go away');
}