jswh / whm-api
a php version of whm api wrapper and the wrapper generator
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 1
pkg:composer/jswh/whm-api
Requires
- guzzle/guzzle: ^3.9
This package is not auto-updated.
Last update: 2025-10-16 00:39:46 UTC
README
a php version of whm api wrapper and the wrapper generator
install
composer require jswh/whm-api
usage
$accessToken = 'test token';
$whm = new Whm('username', 'www.site.com', $accessToken);
$whm->AddonDomians->convert_addon_fetch_domain_details('www.jswh.lol');
Tips
- almost all api are generated by the ApiGenerator by parsing the whm api website
- the api function names are the same with that on the website
- the required parameters are set in the function arguments
- not required parameters can be put into the $paramsfunction argument if exist