Skip to content

ridwan-p/validator_pizza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/