digicatech / resellerclub-php-api
PHP SDK for ResellerClub API
1.4.0
2023-12-08 21:43 UTC
Requires
- ext-curl: *
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ~7
README
This client is used to interact with one of the following APIs:
- ResellerClub (Docs)
Available API requests:
- Actions
- Billing
- Contacts
- Customers
- Dns
- Domains
- Orders
- Products
- Sslcert
Installation
composer require digicatech/resellerclub-php-api
OR GITHUB REPOSITORY
composer.json
:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/digicatech/resellerclub-php-api"
}
],
"require": {
"digicatech/resellerclub-php-api": "dev-main"
}
OR LOCAL PATH
composer.json
:
"repositories": [
{
"type": "path",
"url": "resellerclub-php-api"
}
],
"require": {
"digicatech/resellerclub-php-api": "dev-main"
}
Usage Example
live mode
:
use digicatech\ResellerClub\ResellerClub; $resellerClub = new ResellerClub('<userId>', '<apiKey>'); $resellerClub->domains()->available(['google', 'example'], ['com', 'net']);
test mode
:
use digicatech\ResellerClub\ResellerClub; $resellerClub = new ResellerClub('<userId>', '<apiKey>',true); $resellerClub->domains()->available(['google', 'example'], ['com', 'net']);
Note: All functions return a raw response from API.
Disclaimer
Many thanks to Ahmet Bora. This repository based on his ResellerClub PHP SDK repository.