Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2022-10-21 (23 days ago) | | 62% | | Total: 108 This week: 2 | | All time: 9,529 This week: 349 |
|
Description | | Author |
This class can send requests to the WHMCS hosting management API.
It can send HTTP requests to the WHMCS API to perform arbitrary types of operations supported by the API.
The class can send requests either with the API key or not. | |
|
Details
WHMCS-Helper
This class can send requests to the WHMCS hosting management API.
It can send HTTP requests to the WHMCS API to perform arbitrary types of operations supported by the API.
The class can send requests either with the API key or not.
Example Code
With API Key
$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
$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._
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.