PHP code example of mailboxvalidator-laravel / validation

1. Go to this page and download the library: Download mailboxvalidator-laravel/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/ */

    

mailboxvalidator-laravel / validation example snippets




namespace App\Http\Controllers;

use Illuminate\Http\Request;
use MailboxValidatorLaravel\Validation\ValidateEmail;

class ViewValidateResultController extends Controller
{
	public function print_result(){
		$validate = new ValidateEmail();
		$validate_result = $validate->GetValidateDisposable('email_tobe_validate','your_api_key');
		var_dump($validate_result);
	}
}