dev-master
9999999-devGodaddy api library
MIT
The Requires
by Inquid
extension yii2 domains dns godaddy inquid
Godaddy api library
Godaddy api library, (*3)
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)
Add as component, (*8)
$config = [ // ... 'components' => [ 'godaddy' => [ 'class' => 'inquid\godaddy\Godaddy', 'apiKey' => 'API_KEY', 'apiSecret' => 'API_SECRET' ], // ... ], ],
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: , (*11)
Godaddy api library
MIT
extension yii2 domains dns godaddy inquid