定制 gkimani/cyberpanel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gkimani/cyberpanel

最新稳定版本:1.0.0

Composer 安装命令:

composer require gkimani/cyberpanel

包简介

Unofficial PHP SDK for CyberPanel

README 文档

README

cyberpanel-logo

📦 Unofficial SDK for PHP with Type hinting

PHP Version Require Version Total Downloads GitHub Issues or Pull Requests

Coding Standards Unit Tests Static Analysis by Psalm Static Analysis by PHPStan

Introduction

Consume CyberPanel APIs inside your PHP Application

  • User
  • Package
  • Website
  • DNS
  • Database
  • Email
  • 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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-11