gkimani/cyberpanel
最新稳定版本:1.0.0
Composer 安装命令:
composer require gkimani/cyberpanel
包简介
Unofficial PHP SDK for CyberPanel
关键字:
README 文档
README
📦 Unofficial SDK for PHP with Type hinting
Introduction
Consume CyberPanel APIs inside your PHP Application
- User
- Package
- Website
- DNS
- Database
- Child Domain
- FTP
- Backup
- Partner
Install
Install the SDK using Composer.
composer require gkimani/cyberpanel
Usage
// replace the class Website with either:
--> Ftp, User, Package, ChildDomain, Email, Database, Dns, Backup
$cyberPanelClient = new Website('https://panel.cyberpanel.net', 'admin', 'password');
$response = $cyberPanelClient->createWebsite(
'admin',
'cyberpanel.net',
'Default',
'usman@cyberpersons.com',
'PHP 8.1',
'admin',
0,
0,
0
);
// $response handles exceptions for errors that occur during HTTP requests
Security
If you discover any security related issues, please email josephgodwinke@gmail.com instead of using the issue tracker.
Credits
Thanks to everyone who has contributed to this project so far. You can read the contribution guide here.
License
The MIT License. Please see License File for more information.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-11
