Sample for one way to use the SearchDomain command to check domain name availability
PHP >= 5.4 (compatible with 7.* up to 7.3)
php-curl
php-intl
php-mbstring
Allowed port 43 in firewall
- Download this project
- Add the required WHOIS library via composer
composer require io-developer/php-whois
- Edit the config.php with your personal api credentials and other configuration options.
- Optional. You may also want to edit the index.html file with information related to your brand
- Optional. If you want to add a specific TLD you can edit the tlds.txt file.
- Done!
This sample includes a shopping cart view that can POST to your specific order system.