PHP code example of sarfrazrizwan / laravel-zerobounce
1. Go to this page and download the library: Download sarfrazrizwan/laravel-zerobounce 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/ */
sarfrazrizwan / laravel-zerobounce example snippets
bash
use Sarfrazrizwan\ZeroBounce\Facades\ZeroBounce;
$email = '[email protected]';
$response = ZeroBounce::validate($email);
if ($response->status === 'valid') {
echo "The email address is valid.";
} else {
echo "The email address is invalid.";
}
bash
$request->validate([
'email' => '