detain/myadmin-cloudlinux-licensing
Composer 安装命令:
composer require detain/myadmin-cloudlinux-licensing
包简介
Cloudlinux Licensing Class
README 文档
README
A MyAdmin plugin for managing CloudLinux, KernelCare, and Imunify360 license provisioning. This package integrates with the MyAdmin panel plugin system using Symfony EventDispatcher to handle license activation, deactivation, IP changes, and listing through the CloudLinux XML-RPC API.
Features
- Automated provisioning of CloudLinux, KernelCare, and Imunify360 licenses
- License activation and deactivation with IP address management
- IP address change support with automatic license migration
- Admin-only license listing interface
- Out-of-stock control via settings
- Email notifications for failed deactivations
Supported License Types
| Product | Type ID |
|---|---|
| CloudLinux License | 1 |
| KernelCare License | 16 |
| ImunityAV+ | 40 |
| Imunity360 Single User | 41 |
| Imunity360 Up to 30 Users | 42 |
| Imunity360 Up to 250 Users | 43 |
| Imunity360 Unlimited Users | 49 |
Requirements
- PHP >= 5.3.0
- ext-curl
detain/cloudlinux-licensing(CloudLinux API client)symfony/event-dispatcher^5.0
Installation
composer require detain/myadmin-cloudlinux-licensing
Configuration
The plugin requires the following constants to be defined in your application:
define('CLOUDLINUX_LOGIN', 'your-login'); define('CLOUDLINUX_KEY', 'your-api-key'); define('OUTOFSTOCK_LICENSES_CLOUDLINUX', 0); // 0 = in stock, 1 = out of stock
Usage
Register the plugin hooks with your Symfony EventDispatcher instance:
use Detain\MyAdminCloudlinux\Plugin; $hooks = Plugin::getHooks(); foreach ($hooks as $event => $handler) { $dispatcher->addListener($event, $handler); }
Running Tests
composer install vendor/bin/phpunit
To generate a coverage report:
vendor/bin/phpunit --coverage-text
License
This package is licensed under the LGPL-2.1-only license.
detain/myadmin-cloudlinux-licensing 适用场景与选型建议
detain/myadmin-cloudlinux-licensing 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.01k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2017 年 05 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「administration」 「license」 「cloudlinux」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 detain/myadmin-cloudlinux-licensing 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 detain/myadmin-cloudlinux-licensing 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 detain/myadmin-cloudlinux-licensing 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
HiDev plugin for license generation
A Symfony bundle for chameleon-system/sanitycheck
Notadd's Administration Module.
Dynamically Laravel CRUD administration with automatic database migrations
Cpanel Licensing Class
Fantastico Licensing Class
统计信息
- 总下载量: 2.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-only
- 更新时间: 2017-05-25