Skip to content

myadmin-plugins/xen-vps

Repository files navigation

MyAdmin Xen VPS Plugin

Tests Latest Stable Version Total Downloads License

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.

Packages

 
 
 

Contributors