Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webchemistry/disposable-emails

Disposable emails checker for PHP
https://github.com/webchemistry/disposable-emails

Last synced: about 1 month ago
JSON representation

Disposable emails checker for PHP

Awesome Lists containing this project

README

        

# Disposable emails checker

Installation:
```bash
composer require webchemistry/disposable-emails
```

Usage:

```php
$checker = new EmailChecker();
$checker->addProvider(new BuiltinProvider());

assert($checker->isValid('[email protected]'));
```

Credits: \
https://raw.githubusercontent.com/MattKetmo/EmailChecker/master/res/throwaway_domains.txt \
https://raw.githubusercontent.com/ivolo/disposable-email-domains/master/wildcard.json \
https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf