detain/myadmin-kvm-vps

MyAdmin KVM VPS plugin — provides service activation, deactivation, queue processing, and settings management for KVM-based virtual private servers.

Maintainers

Package info

github.com/myadmin-plugins/kvm-vps

Language:Smarty

Type:myadmin-plugin

pkg:composer/detain/myadmin-kvm-vps

Statistics

Installs: 760

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

v2.0.0 2019-11-06 02:08 UTC

This package is auto-updated.

Last update: 2026-03-19 15:46:58 UTC


README

Build Status Latest Stable Version Total Downloads License

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.