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.
- 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
- PHP 8.2 or higher
- ext-soap
- Symfony EventDispatcher 5.x, 6.x, or 7.x
composer require detain/myadmin-xen-vpsThe 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 |
composer install
vendor/bin/phpunitLicensed under the LGPL-2.1. See LICENSE for details.