Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 457 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 457 Bytes

Domain & Email Validation

Domain Validation

<?php
require __DIR__ . '/vendor/autoload.php';

use ValidatorPizza\Validator\Validator;

$validator = new Validator();

var_dump($validator->domain("google.com")); // true|false

Email Validation

$validator = new Validator();

var_dump($validator->email("ridwan.pamungks@gmail.com")); // true|false

Domain & Email validate with http://validator.pizza/