composer.json
:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/arleslie/enom-php.git"
}
],
"require": {
"arleslie/enom-php": "dev-master"
}
Note: All functions return raw response from Enom's API. (This will change in the future)
$enom = \arleslie\Enom\Client('user-id', 'password', true); // Last argument is for testmode.
// Get Available TLDs
$enom->DomainRegistration()->getTLDList();
// Check Domain Availablity
$enom->DomainRegistration()->check('google', 'com');
Currently all of the domain registration (except for queue_*) is available.