1. Go to this page and download the library: Download aman00323/emailchecker library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aman00323 / emailchecker example snippets
use Aman\EmailVerifier\EmailChecker;
$result = app(EmailChecker::class)->checkEmail('[email protected]', true);
if ($result['success']) {
// Use $result['disposable'], $result['mxrecord'], $result['domain']
} else {
// Use $result['error']
}