Download the PHP package vendasta/godaddy without Composer
On this page you can find all versions of the php package vendasta/godaddy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vendasta/godaddy
More information about vendasta/godaddy
Files in vendasta/godaddy
Package godaddy
Short Description PHP library for Vendasta's Godaddy service
License
Informations about the package godaddy
Vendasta GoDaddy PHP SDK
Description
This is Vendasta's official PHP SDK for API integration of GoDaddy.
Requirements
- PHP 5.5 and above or PHP 7.0 and above
- PECL (may be used to install the required PHP extensions)
- Composer
- PHP gmp extension
- OPTIONAL (but recommended): PHP grpc extension
Installation
Install the requirements from above, then:
Authentication
To authenticate your SDK calls, you must provision a service account from within the Vendasta platform. Refer to the service account guide in order to setup authentication.
You must put this file on your server, and set an environment variable to it's path:
Client Initialization
It is highly recommended that you use a singleton client instance. Each client initilization will open it's own connection, therefore using a singleton results in reusing a connection, saving time and resources.
Set an environment variable:
To instantiate the client:
Notice that the environment will be set to DEMO if it is not specified.
Provisioning a GoDaddy account
Provisioning a new GoDaddy account can be done using the Account Group SDK and Sales Orders SDK. The Account Group SDK is used to create business accounts in Partner Center. Follow the readme for installation and setup. Create is synchronous. It immediately creates the account and returns the account group ID for the business you made (used as the business ID in the other SDKs). After a business is created you can use the Sales Orders SDK to purchase products on that business using the business ID from the Account Group SDK. CreateAndActivateOrder is an asynchronous process which can result in approval or rejection from the vendor. The status of the order can be polled using the GetSalesOrder endpoint given the order ID from CreateAndActivateOrder.
Production App ID: MP-4TMLZSQ5FMJQX5T75TPC43FQBWD2VXLB
Demo environment App ID: MP-NNTJMBF6HPXR5XXC2JKCFWKJ64VZLBFQ
Deprovision an account
How to use this SDK
Getting domain availability
Patching domains
This can be used to lock or unlock a domain
Getting domain details
This can be used to get details about a domain including the AuthCode
All versions of godaddy with dependencies
guzzlehttp/guzzle Version ^6.3
mdanter/ecc Version ^0.5.0
vendasta/vax Version ^1.2.0
google/protobuf Version ^3.9.2
google/common-protos Version ^1.1