digicatech / resellerclub-php-api
PHP SDK for ResellerClub API
Installs: 1 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 2
Open Issues: 0
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.