metaregistrar/php-nl-retro

A simple PHP library to connect to the .NL retro service

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/metaregistrar/php-nl-retro

dev-master 2015-11-30 09:56 UTC

This package is auto-updated.

Last update: 2025-09-14 04:57:03 UTC


README

A simple PHP library to connect to the .NL retro service

This service retrieves the results of a search string and returns it in an array of domainname and date fields.

Usage:

If you are using composer (and if you're not, you should), simply require metaregistrar/php-nl-retro

try {
    $retro = new Metaregistrar\Retro\Retro('searchstring');   
    foreach ($retro->getResults() as $result) {   
        echo "Found domain name ".$result['domainname'].", which was deleted on ".$result['date']."\n";       
    }   
} catch (Exception $e) {
    echo 'ERROR: '.$e->getMessage()."\n"; 
}

See file test.php for a demo