Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
62% | Total: 110 | All time: 9,643 This week: 524 |
Version | License | PHP version | Categories | |||
whmcs-helper 1.0.2 | GNU General Publi... | 5 | PHP 5, Web services, Hosting |
Description | Author | ||||||||||||||||||||||
This class can send requests to the WHMCS hosting management API. |
|
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.
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._
Files (3) |
File | Role | Description |
---|---|---|
composer.json | Data | Auxiliary data |
README.md | Doc. | Documentation |
whmcshelper.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.