2017 © Pedro Peláez
 

library namecheap

Namecheap SDK for PHP5

image

jadb/namecheap

Namecheap SDK for PHP5

  • Sunday, October 5, 2014
  • by jadb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Namecheap SDK for PHP

Un-official (and incomplete) library to consume the Namecheap API., (*1)

DISCLAIMER: USE AT YOUR OWN RISK, (*2)

$nc = new \Namecheap\Client(
    'apiuser', // namecheap api user
    'apikey', // namecheap api key
    'username', // namecheap username
    '127.0.0.1', // server ip
    true, // use sandbox, false for live
);

$nc->domains()->check(['DomainList' => 'github.com']);
$nc->domains()->check(['DomainList' => 'google.com,yahoo.com,msn.com']);
$nc->domains()->getTldList();
$nc->domains()->getInfo(['DomainName' => 'github.com']); // must be user's owned domain

The Versions