<?php
require __DIR__ . '/vendor/autoload.php';
use ValidatorPizza\Validator\Validator;
$validator = new Validator();
var_dump($validator->domain("google.com")); // true|false
$validator = new Validator();
var_dump($validator->email("[email protected]")); // true|false
Domain & Email validate with http://validator.pizza/