bschleyer/reseller-services-phpclient

A full-featured implementation of the ResellerServices API

v1.0.0 2021-08-27 01:48 UTC

This package is auto-updated.

Last update: 2024-10-23 11:20:13 UTC


README

This PHP 7.2+ library allows you to communicate with the Reseller-Services API.

Latest Stable Version Total Downloads Latest Unstable Version License

You can find the full API documentation here!

Getting Started

Recommended installation is using Composer!

In the root of your project execute the following:

$ composer require bschleyer/reseller-services-phpclient

Or add this to your composer.json file:

{
    "require": {
        "bschleyer/reseller-services-phpclient": "^1.0"
    }
}

Then perform the installation:

$ composer install --no-dev

Examples

Creating the ResellerServices main object:

<?php
// Require the autoloader
require_once 'vendor/autoload.php';

// Use the library namespace
use ResellerServices\ResellerServices;

// Then simply pass your API-Token when creating the API client object.
$client = new ResellerServices('API-Token');

// Then you are able to perform a request
var_dump($client->domain()->getPrice('de'));
?>

If you want more info on how to use this PHP-API you should check out the Wiki.