detain/myadmin-kvm-vps
Composer 安装命令:
composer require detain/myadmin-kvm-vps
包简介
MyAdmin KVM VPS plugin — provides service activation, deactivation, queue processing, and settings management for KVM-based virtual private servers.
README 文档
README
A MyAdmin plugin for managing KVM (Kernel-based Virtual Machine) virtual private servers. This package provides service lifecycle management including activation, deactivation, queue processing, and administrative settings for KVM-based VPS hosting across multiple datacenter locations.
Features
- Service activation and deactivation handling for KVM Linux and Windows VPS
- Queue-based provisioning through Smarty shell templates
- Administrative settings for slice pricing and server assignment
- Per-datacenter out-of-stock controls (Secaucus, Los Angeles, Texas)
- Support for standard KVM, Cloud KVM, KVMv2, and KVM Storage types
- Symfony EventDispatcher integration for hook-based architecture
Requirements
- PHP >= 5.0
- ext-soap
- symfony/event-dispatcher ^5.0
Installation
composer require detain/myadmin-kvm-vps
Usage
The plugin registers event hooks automatically through the MyAdmin plugin system. Call Plugin::getHooks() to retrieve the array of event name to callback mappings:
use Detain\MyAdminKvm\Plugin; $hooks = Plugin::getHooks(); // Returns: ['vps.settings' => [...], 'vps.deactivate' => [...], 'vps.queue' => [...]]
Running Tests
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license.
统计信息
- 总下载量: 2.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-only
- 更新时间: 2017-06-08