Skip to content
Email Check API
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/email
tests/email
.gitignore
README.md
composer.json
composer.lock
phpunit.xml

README.md

Email Verification Library

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.

You can’t perform that action at this time.