PHP code example of lukaswhite / laravel-email-checker
1. Go to this page and download the library: Download lukaswhite/laravel-email-checker 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/ */
lukaswhite / laravel-email-checker example snippets
use Lukaswhite\LaravelEmailChecker\LaravelEmailChecker;
$result = LaravelEmailChecker::check('[email protected]');
$result->isDisposable(); // true|false
$result->isFree(); // true|false
$result->isBlacklisted(); // true|false
bash
php artisan vendor:publish --provider="Lukaswhite\LaravelEmailChecker\LaravelEmailCheckerServiceProvider"
bash
php artisan email-checker:install
bash
php artisan email-checker:update