devopssantana/aapanel
Composer 安装命令:
composer require devopssantana/aapanel
包简介
AApanel Library is a small set of classes developed to communicate with AAPanel
关键字:
README 文档
README
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
- Rogério Santana (Developer)
- All Contributors (This Rock)
License
The MIT License (MIT). Please see License File for more information.
devopssantana/aapanel 适用场景与选型建议
devopssantana/aapanel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 03 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「linux」 「Agencione」 「AAPanel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 devopssantana/aapanel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 devopssantana/aapanel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 devopssantana/aapanel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Brotli binary provided by google/brotli and compiled for amd64
Advanced local development experience for Linux.
A PSR-7 compatible library for making CRUD API endpoints
A convenient none blocking asynchronous shell
Light-weight library to help gather information on a running Linux system
Use virtual host apache feature easily and quickly
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-14