dev-master
9999999-devValidator of domain names that uses DNS to verify the existance of a domain
MIT
The Development Requires
v1.0.0
1.0.0.0Validator of domain names that uses DNS to verify the existance of a domain
MIT
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Validator of domain names that uses DNS to verify the existance of a domain
By Denis Mitrofanov, 2016, (*1)
composer require denismitr/real-domain-validator
If you are using Laravel, than you can extend the Laravel validator in AppServiceProvider@boot like so:, (*2)
Validator::extend('real_domain', 'Denismitr\Validators\RealDomainValidator@validationCallback');
Otherwise just install, instantiate and use isValidDomain method like that:, (*3)
$validator = new RealDomainValidator();
$result = $validator->isValidDomain("google.com");
Http or https prefixes not a problem - will work as well., (*4)
Validator of domain names that uses DNS to verify the existance of a domain
MIT
Validator of domain names that uses DNS to verify the existance of a domain
MIT