PHP code example of abstractapi / php-email-validation
1. Go to this page and download the library: Download abstractapi/php-email-validation 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/ */
abstractapi / php-email-validation example snippets
// Verify email using Abstract's Email Validation and Verification API and PHP
$api_key = "YYYYYY"; // Get your API Key from https://app.abstractapi.com/api/email-validation/documentation
Abstractapi\EmailValidation\AbstractEmailValidation::configure($api_key);
$info = Abstractapi\EmailValidation\AbstractEmailValidation::verify('[email protected]');
print $info->quality_score;
bash
composer
bash
php vendor/bin/phpunit