2017 © Pedro Peláez
 

library dnsimple-forwarder

This is a PHP class to talk to the DNSimple API.

image

mrsam/dnsimple-forwarder

This is a PHP class to talk to the DNSimple API.

  • Thursday, October 27, 2016
  • by MrSam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

dnsimple-forwarder

Use this PHP class to talk to the DNSimple API, (*1)

Usage

Get an overview of accounts (this token can access), (*2)

$fw = new DNSimple_Forwarder('<your token>');
$accounts = $fw->getAccounts();
var_dump($accounts);

Get an overview of domains for the specified account_id, (*3)

$fw = new DNSimple_Forwarder('<your token>');
$domains = $fw->getDomains($account_id);
var_dump($domains);

Get an overview of configured forwards for a domain, (*4)

$api_token = "<your token>";
$account_id = 1234;
$domain = "exampledomain.com";

$fw = new DNSimple_Forwarder($api_token;
$domains = $fw->getDomains($account_id);
var_dump($domains);

Create a new forward in a domain, (*5)

$api_token = "<your token>";
$account_id = 1234;
$domain = "exampledomain.com";
$from = "sam";
$to = "sam@acme.com";

$fw = new DNSimple_Forwarder($api_token;
$fw->addForward($account_id, $domain, $from, $to);

License

This code is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html., (*6)

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by dnsimple or any of its affiliates or subsidiaries. This is independent and unofficial code., (*7)

The Versions

27/10 2016

dev-master

9999999-dev

This is a PHP class to talk to the DNSimple API.

  Sources   Download

GPL-3.0+

27/10 2016

1.0.5

1.0.5.0

This is a PHP class to talk to the DNSimple API.

  Sources   Download

GPL-3.0+

27/10 2016

1.0.4

1.0.4.0

This is a PHP class to talk to the DNSimple API.

  Sources   Download

GPL-3.0+

27/10 2016

1.0.3

1.0.3.0

This is a PHP class to talk to the DNSimple API.

  Sources   Download

GPL-3.0+

27/10 2016

1.0.2

1.0.2.0

This is a PHP class to talk to the DNSimple API.

  Sources   Download

GPL-3.0+

27/10 2016

1.0.0

1.0.0.0

This is a PHP class to talk to the DNSimple API.

  Sources   Download