Download the PHP package level23/dynadot-api without Composer

On this page you can find all versions of the php package level23/dynadot-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dynadot-api

Dynadot-API

Build Code Coverage Minimum PHP Version Packagist Version Total Downloads Quality Score

Unofficial implementation for the advanced Dynadot domain API

Please note, this is a beta API implementation, based on the API description at https://www.dynadot.com/domain/api3.html

Before you can use this API you have to:

By default, we will try to connect to the Dynadoy API for 30 seconds. If that fails, an GuzzleHttp\Exception\ConnectException is thrown. You probably want to catch these in case if something goes wrong.

Only a limited set of features are currently implemented, and the exact methods and parameters available on this API may change in the future.

Installing

Install the latest version with:

Requirements

To make use if this API you have to run PHP 8.2 or higher.

Contributing

If you want to help us improve this implementation, just contact us. All help is welcome! The only requirement for contributing is that all code is 100% covered by unit tests and that they implement the PSR standards.

License

See the file LICENSE for more information.

Example usage

See below some basic sample usages.

Getting Domain Details with getDomainInfo

The returned object will be an instance of Level23\Dynadot\ResultObjects\DomainInfoResponses\Domain.

Example response:

The Whois container will return the contact id's for this specific domain. Full contact details can be fetched with this id by using the getContactInfo API call.

List all domains with getDomainList

This will return an array of Level23\Dynadot\ResultObjects\DomainInfoResponses\Domain objects. An exception will be thrown when anything went wrong.

Set nameservers for a domain with setNameserversForDomain

The setNameserversForDomain method will by default not give a response. An exception will be thrown when something went wrong.

Retrieving contact info with getContactInfo

An exception will be thrown when something went wrong.

Example response:

Set renew option with setRenewOption

The setRenewOption let's you set the renewal setting for a domain. Values of for the second argument ($renewOption) van be "donot", "auto", "reset". The method will return true when the renew option is set successfully.

FAQ

I keep getting timeouts!

Make sure your IP address is whitelisted in the Dynadot backend. It can take a while (up to 1 hour) before the IP address is whitelisted.

I am banned from the Dynadot API!

The Dynadot API only allows 1 API call at the same time. Its not allowed to do concurrent API calls. If you do request multiple API calls at the same time you can be banned. The ban will be for 10 a 15 minutes.
Information received via dynadot chat


All versions of dynadot-api with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
guzzlehttp/guzzle Version >=6.0
psr/log Version ^2.0.0
sabre/xml Version ^2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package level23/dynadot-api contains the following files

Loading the files please wait ....