Skip to content
/ WhmApi Public

a php version of whm api wrapper and the wrapper generator

License

Notifications You must be signed in to change notification settings

jswh/WhmApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhmApi

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

About

a php version of whm api wrapper and the wrapper generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages