https://github.com/myadmin-plugins/xen-vps
XEN VPS for MyAdmin
https://github.com/myadmin-plugins/xen-vps
myadmin plugin service virtualization vm vps xen
Last synced: 2 months ago
JSON representation
XEN VPS for MyAdmin
- Host: GitHub
- URL: https://github.com/myadmin-plugins/xen-vps
- Owner: myadmin-plugins
- Created: 2017-06-08T04:03:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2026-03-19T17:10:52.000Z (3 months ago)
- Last Synced: 2026-03-20T08:06:32.863Z (3 months ago)
- Topics: myadmin, plugin, service, virtualization, vm, vps, xen
- Language: PHP
- Size: 78.1 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MyAdmin Xen VPS Plugin
[](https://github.com/detain/myadmin-xen-vps/actions/workflows/tests.yml)
[](https://packagist.org/packages/detain/myadmin-xen-vps)
[](https://packagist.org/packages/detain/myadmin-xen-vps)
[](https://packagist.org/packages/detain/myadmin-xen-vps)
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
```sh
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
```sh
composer install
vendor/bin/phpunit
```
## License
Licensed under the LGPL-2.1. See [LICENSE](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) for details.