Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/webchemistry/disposable-emails
- Owner: WebChemistry
- Created: 2023-01-16T12:49:03.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T12:56:16.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T04:10:17.657Z (about 1 month ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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