2017 © Pedro Peláez
 

utility whmcs-helper

A Helper for sending requests to the WHMCS hosting management API.

image

nh314/whmcs-helper

A Helper for sending requests to the WHMCS hosting management API.

  • Monday, March 13, 2017
  • by parobit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WHMCS-Helper

This class can send requests to the WHMCS hosting management API., (*1)

It can send HTTP requests to the WHMCS API to perform arbitrary types of operations supported by the API., (*2)

The class can send requests either with the API key or not., (*3)

Example Code

With API Key, (*4)

$whmcs_api = new WhmcsHelper('http://yourdomain.com/whcms/');
$whmcs_api->setUsername('whcms_username');
$whmcs_api->setPassword('whcms_password');
$whmcs_api->ip_access = false;
$whmcs_api->api_key = 'your_api_key'; //Your API key in WHCMS configuration.php file.
$stats = $whmcs_api->sendRequest('getstats');

Without API Key, (*5)

$whmcs_api = new WhmcsHelper('http://yourdomain.com/whcms/');
$whmcs_api->setUsername('whcms_username');
$whmcs_api->setPassword('whcms_password');
$stats = $whmcs_api->sendRequest('getstats');

I code this class for learning purpose so all contributors are welcome to join., (*6)

The Versions

13/03 2017

dev-master

9999999-dev

A Helper for sending requests to the WHMCS hosting management API.

  Sources   Download

by Avatar parobit