detain/myadmin-cpanel-vps-addon
Composer 安装命令:
composer require detain/myadmin-cpanel-vps-addon
包简介
Cpanel Addon for VPS Module in MyAdmin
README 文档
README
A MyAdmin plugin that provides cPanel license management as a VPS addon. This package integrates with the MyAdmin hosting management platform to allow automated provisioning, activation, and deactivation of cPanel licenses on VPS instances.
Features
- Automated cPanel license activation when a VPS addon is purchased
- Automated cPanel license deactivation on cancellation with admin email notification
- IP-based license status checking before activation/deactivation
- Integration with MyAdmin's event dispatcher for hook-based plugin loading
- Configurable addon cost via the MyAdmin settings interface
Installation
Install via Composer:
composer require detain/myadmin-cpanel-vps-addon
The package registers itself automatically through the MyAdmin plugin system. The following event hooks are registered:
| Event | Handler | Purpose |
|---|---|---|
function.requirements |
getRequirements |
Registers the page requirement function |
vps.load_addons |
getAddon |
Registers the cPanel addon with the VPS module |
vps.settings |
getSettings |
Adds the cPanel cost setting to the admin UI |
Configuration
The addon cost is configurable through the MyAdmin admin panel under VPS module settings. The setting VPS_CPANEL_COST controls the price charged for the cPanel license addon.
Running Tests
composer install vendor/bin/phpunit
To generate a coverage report:
vendor/bin/phpunit --coverage-html build/coverage
License
This package is licensed under the LGPL-2.1 license.
detain/myadmin-cpanel-vps-addon 适用场景与选型建议
detain/myadmin-cpanel-vps-addon 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.98k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2017 年 06 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「administration」 「license」 「cpanel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 detain/myadmin-cpanel-vps-addon 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 detain/myadmin-cpanel-vps-addon 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 detain/myadmin-cpanel-vps-addon 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
HiDev plugin for license generation
A Symfony bundle for chameleon-system/sanitycheck
Laravel cPanel/WHM API Package.
Notadd's Administration Module.
Dynamically Laravel CRUD administration with automatic database migrations
Cpanel Licensing Class
统计信息
- 总下载量: 1.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-only
- 更新时间: 2017-06-21