2017 © Pedro PelĂĄez
 

yii2-extension yii2-godaddy

Godaddy api library

image

inquid/yii2-godaddy

Godaddy api library

  • Friday, June 29, 2018
  • by gogl92
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii Framework , (*1)

Donate, (*2)

Godaddy api library

Godaddy api library, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

php composer.phar require --prefer-dist inquid/yii2-godaddy "*"

or add, (*6)

"inquid/yii2-godaddy": "*"

to the require section of your composer.json file., (*7)

Usage

Configuration

Add as component, (*8)

$config = [
     // ...
    'components' => [
        'godaddy' => [
            'class' => 'inquid\godaddy\Godaddy',
            'apiKey' => 'API_KEY',
            'apiSecret' => 'API_SECRET'
        ],
        // ...
    ],
],

Usage

Get domain aviability, (*9)

$response = Yii::$app->godaddy->getDomainAviability([
        'domain'=>'example.com'
    ]);
print_r($response);

Inserts a new record to a domain, (*10)

    $record = new \inquid\godaddy\models\Record();
    $record->setData('XX.XXX.XXX.XX');
    $record->setName('subdomain');
    $record->setTtl(600);
    $record->setType('A');
    $response = Yii::$app->godaddy->insertRecord("domain.com",$record);
    print_r($response);

Iniciativa Programa MĂ©xico: Iniciativa Programa MĂ©xico, (*11)

SUPPORT

paypal, (*12)

The Versions

29/06 2018

dev-master

9999999-dev

Godaddy api library

  Sources   Download

MIT

The Requires

 

by Inquid

extension yii2 domains dns godaddy inquid