detain / myadmin-xen-vps
MyAdmin Xen VPS plugin — provides event-driven provisioning, deactivation, and queue management for Xen hypervisor-based virtual private servers within the MyAdmin framework.
Package info
github.com/myadmin-plugins/xen-vps
Type:myadmin-plugin
pkg:composer/detain/myadmin-xen-vps
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 17:11:02 UTC
README
Event-driven MyAdmin plugin for provisioning, managing, and deactivating Xen hypervisor-based virtual private servers. Integrates with the Symfony EventDispatcher to handle VPS lifecycle events including activation, deactivation, settings configuration, and queue-based template rendering for server operations.
Features
- Xen Linux and Xen Windows VPS provisioning support
- Event-driven architecture using Symfony EventDispatcher
- Template-based queue processing for server operations (start, stop, restart, backup, restore, etc.)
- Configurable slice-based pricing and server assignment
- Out-of-stock toggle for sales management
Requirements
- PHP 8.2 or higher
- ext-soap
- Symfony EventDispatcher 5.x, 6.x, or 7.x
Installation
composer require detain/myadmin-xen-vps
Usage
The plugin registers event hooks for the vps module automatically:
| Hook | Handler | Description |
|---|---|---|
vps.settings |
getSettings |
Registers Xen VPS configuration options |
vps.deactivate |
getDeactivate |
Handles VPS deactivation and cleanup |
vps.queue |
getQueue |
Processes queued server operations |
Running Tests
composer install vendor/bin/phpunit
License
Licensed under the LGPL-2.1. See LICENSE for details.