developernode / email-verify
Email Verification Library
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/developernode/email-verify
Requires
- myclabs/php-enum: ^1.6
Requires (Dev)
- phpunit/phpunit: ^6.5
This package is auto-updated.
Last update: 2025-09-24 05:32:48 UTC
README
Using this library, you can verify if email entered is real or not. By real it is meant that it will be validated not just in a synctactic way, but also against SMTP server.
Installation
Through composer: composer require developernode/email-verify
Usage
use DeveloperNode\Email\EmailVerifier; // ... $verifier = new EmailVerifier(); $verifier->CheckEmail("me@invalidemaildomain.com"); $verifier->CheckEmail("vaidotas@developernode.net"); $verifier->CheckEmail("i_do_not_exist@developernode.net"); // ...
Notes
EmailVerifier implements IEmailVerifier interface, thus it will be easier to mock logic if required, and integrate it into your own code without violating SOLID development guidelines.