Skip to content

Light PHP SDK to interact with the Doma(in)Validity API.

Notifications You must be signed in to change notification settings

domainvalidity/php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doma(in)Validity PHP SDK.

Light PHP SDK to interact with the Doma(in)Validity API.

Usage

<?php

require_once 'vendor/autoload.php';

use Domainvalidity\Sdk\Factory;

$host = Factory::make()->validate('https://api.example.com');

$host->isValid(); // true or false
$host->original(); // https://api.example.com
$host->host(); // 'api.example.com'
$host->domain(); // example.com
$host->tld(); // com

Releases

No releases published

Packages

No packages published

Languages