mariomka / disposable-email-detector
This package is abandoned and no longer maintained.
No replacement package was suggested.
A PHP package to detect disposable emails based on ivolo/disposable-email-domains list.
v0.5.8
2017-10-29 21:48 UTC
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.0
README
A PHP package to detect disposable emails based on ivolo/disposable-email-domains list.
Installation
You can install this package via composer:
composer require mariomka/detect-disposable-emails
How to use
$detector = new \Mariomka\DisposableEmailDetector\Detector(); if($detector->isDisposable('something@domain.com')) { // Disposable email } else { // Acceptable email }
Testing
You can run the tests with:
vendor/bin/phpunit
License
This software is licensed under the MIT license.