jswh / whm-api
a php version of whm api wrapper and the wrapper generator
v0.1
2016-06-19 11:53 UTC
Requires
- guzzle/guzzle: ^3.9
This package is not auto-updated.
Last update: 2024-12-25 20:40:37 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
$params
function argument if exist