Download the PHP package theprivateer/domainr without Composer
On this page you can find all versions of the php package theprivateer/domainr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download theprivateer/domainr
More information about theprivateer/domainr
Files in theprivateer/domainr
Package domainr
Short Description A PHP wrapper for the Domainr API.
License MIT
Homepage https://github.com/theprivateer/domainr
Informations about the package domainr
Domainr
A PHP wrapper for the Domainr API.
Installation
The package can be installed using Composer:
Usage
For detailed documentation please visit the Domainr API on Mashape or Domainr API on Domainr.build. You will need to subscribe to the Domainr API to get a Mashape API key - there is currently a free plan that allows for 10,000 requests per month, however you will need to enter credit card details to cover any overage.
Search
The search method allows you to search for domains by keyword, and receive multiple alternatives back from Domainr.
JSON data will be returned:
Register
This method returns a string, the value of which is the URL to the domain's registrar:
Status
The status method allows you to check domain availability:
This will return an instance of \Privateer\Domainr\Status
. The values of the underlying JSON response will be accessible via the get()
method on the Status
object:
The Status
object has a number of utility helpers to further explain the response.
These dynamic properties are derived from the status descriptions in the Domainr API documentation].
The Status
object also static method to access these values: