community-sdks/godaddy-php

PHP SDK for the GoDaddy APIs in this repository.

Maintainers

Package info

github.com/community-sdks/godaddy-php

pkg:composer/community-sdks/godaddy-php

Statistics

Installs: 8

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-03-11 03:14 UTC

This package is not auto-updated.

Last update: 2026-04-24 04:18:43 UTC


README

Getting Started

composer require community-sdks/godaddy-php
use CommunitySDKs\GoDaddy\Client;
use CommunitySDKs\GoDaddy\Config;

$client = new Client(new Config(
    apiKey: 'your-key',
    apiSecret: 'your-secret',
));

Environment Base URLs

Base URLs are configured only through Config.

  • Sandbox (OTE): https://api.ote-godaddy.com
  • Production: https://api.godaddy.com

new Config(...) defaults to sandbox (OTE): https://api.ote-godaddy.com.

Use production for all services:

$client = new Client(Config::production(
    apiKey: 'your-key',
    apiSecret: 'your-secret'
));

Use sandbox explicitly:

$client = new Client(Config::sandbox(
    apiKey: 'your-key',
    apiSecret: 'your-secret'
));

Override base URL for specific services (keys: abuse, aftermarket, agreements, ans, auctions, certificates, countries, domains, orders, parking, shoppers, subscriptions):

$client = new Client(new Config(
    apiKey: 'your-key',
    apiSecret: 'your-secret',
    baseUrl: Config::PRODUCTION_BASE_URL,
    serviceBaseUrls: [
        'abuse' => 'https://api.ote-godaddy.com',
    ]
));

Services

  • Abuse: Abuse ticket management endpoints for listing, creating, and retrieving abuse reports.
  • Aftermarket: Aftermarket listing endpoints for auction listings, expiry listings, and listing removals.
  • Agreements: Legal agreement lookup endpoints for required agreement keys.
  • Ans: Agent Name Service endpoints for agent registration, resolution, certificates, and events.
  • Auctions: Auction bidding endpoints for placing bids on aftermarket listings.
  • Certificates: Certificate lifecycle endpoints for ordering, validation, download, reissue, renewal, revocation, and subscription lookups.
  • Countries: Country and market metadata endpoints for country and state lookups.
  • Domains: Domain management endpoints for availability, purchase, DNS, transfers, forwarding, notifications, and maintenance data.
  • Orders: Order retrieval endpoints for listing orders and loading individual order details.
  • Parking: Parking analytics endpoints for aggregate and per-domain parking metrics.
  • Shoppers: Shopper account endpoints for subaccounts, profile updates, deletion, status, and password changes.
  • Subscriptions: Subscription endpoints for listing, product groups, retrieval, cancellation, and updates.