定制 devopssantana/aapanel 二次开发

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

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

devopssantana/aapanel

最新稳定版本:0.0.1

Composer 安装命令:

composer require devopssantana/aapanel

包简介

AApanel Library is a small set of classes developed to communicate with AAPanel

README 文档

README

Maintainer Source Code PHP from Packagist Latest Version Software License Build Quality Score Total Downloads

AApanel Library is a small set of classes developed to communicate with AAPanel.

You can know more clicking here.

Highlights

  • Simple installation
  • Abstraction of many API methods
  • Easy authentication with url and token
  • You can manage many resources through your panel and allow your client to manipulate data from their domain account, creating an integrated panel.
  • Composer ready and PSR-2 compliant

Installation

AAPanel is available via Composer:

"devopssantana/aapanel": "0.0.*"

or run

composer require devopssantana/aapanel

Documentation

For details on how to use, see a sample folder in the component directory. In it you will have an example of use for each class. It works like this:

For more details on how to use it, see an example folder in the component's directory. It works like this:

Site endpoint:

<?php

require __DIR__ . "/../vendor/autoload.php";


const AAPANEL_SERVER_URL = 'Your Server URL';
const AAPANEL_SERVER_KEY = 'Your Key';  

use DevOpsSantana\AAPanel\AAPanelSite;

//site
$aapanel = new AAPanelSite();

/** List All Sites */
$aapanel->List();

/** Size Site Dir */
$aapanel->Size('yourdomain.com');

/** Anti Xss */
$aapanel->BaseDir('[your site id]', 'yourdomain.com');

/** Get Index  */
$aapanel->GetIndex('[your site id]');

System endpoint:

<?php

require __DIR__ . "/../vendor/autoload.php";

const AAPANEL_SERVER_URL = 'Your Server URL';
const AAPANEL_SERVER_KEY = 'Your Key';  

use DevOpsSantana\AAPanel\AAPanelSystem;

$aapanel = new AAPanelSystem();

/** Painel Info */
$aapanel->Info(); 

/** Disk Info */
$aapanel->Disk();

/** Network Info  */
$aapanel->Network(); 

/** Size Info  */
$aapanel->Size();

Others

You also have classes for the endpoints of many panel features, practical examples are available in the examples folder of this library. Please consult there.

Contributing

Please see CONTRIBUTING for details.

Support

Security: If you discover any security related issues, please email rogeriossilva1@gmail.com instead of using the issue tracker.

Thank you

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-14