splitice / php-domainvalidate
Installs: 2 401
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-11-29 05:03:16 UTC
README
Simple class to validate a domain using Whois and DNS. Developed for use at www.x4b.net. Pull requests, features and patches welcome.
Requirements
You need PHP 5.3+
Install Domain Validate (PHP)
Installing via Composer
The recommended way to install the SSL Store API Library is through Composer.
-
Add
splitice/php-domainvalidate
as a dependency in your project'scomposer.json
file:{ "require": { "splitice/php-domainvalidate": "dev-master" } }
-
Download and install Composer:
curl -s http://getcomposer.org/installer | php
-
Install your dependencies:
php composer.phar install
-
Require Composer's autoloader
Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:
require 'vendor/autoload.php';
You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org.