sdglhm/c-panel_api
Composer 安装命令:
composer require sdglhm/c-panel_api
包简介
README 文档
README
cPanel/WHM api that uses cURL
This library was written by our company to implement it to a small software. But as our lord t-rex forces us to make this open, here it is.
how to use
Update your composer.json file as follows.
{
"require": {
"sdglhm/c-panel_api": "dev-master"
}
}
Run composer and download package to your monster. Did I just said it out loud ?
require 'vendor/autoload.php';
This will load library to your PHP thingy you're writing.
Then fire at will
$cpanel = new \eezpal\cPanel_api\cPanel([ 'host' => $host, 'user' => $user, 'hash' => $hash ]); $accounts = $cpanel->accountsummary( ['user'=>'eezpal'] ); var_dump($accounts);
Yes this will give you a warning message. So define all the variables at respective places.
Made with ♥ http://eezpal.com
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-04-27