2017 © Pedro Peláez
 

library php-domain-info

image

alexeevdv/php-domain-info

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Domain info provider

You can obtain following information about domain:, (*1)

  • Creation date
  • Expiration date

Installation

Preferred way to install this library is via composer:, (*2)

composer require alexeevdv/php-domain-info "1.0.0"

Usage:

<?php

use alexeevdv\domain\info\Provider;
use Exception;

try {
    $provider =  Provider::getInstance('alexeevdv.ru');
    $creationDate = $provider->getCreationDate();
    $expirationDate = $provider->getExpirationDate();
} catch (Exception $e) {
    // Can't find data provider for domain name
}

The Versions

05/06 2017

dev-master

9999999-dev

  Sources   Download

MIT

05/06 2017

v1.0.0

1.0.0.0

  Sources   Download

MIT