An addon plugin for the MyAdmin VPS module that enables the purchase and management of additional hard drive space for virtual private servers. This plugin integrates with the MyAdmin service platform via Symfony EventDispatcher hooks to provide HD space upselling, provisioning, and billing capabilities.
- Purchase additional HD space (1-100 GB) for VPS instances
- Automatic billing integration with prorated pricing
- Enable/disable HD space addons with queue-based provisioning
- Admin settings for configuring per-GB cost
- CSRF-protected purchase flow with slider-based UI
Install via Composer:
composer require detain/myadmin-hd-vps-addonThe plugin registers itself through the MyAdmin plugin system using Symfony EventDispatcher hooks:
function.requirements- Registers the VPS HD space page requirementvps.load_addons- Registers the HD space addon handlervps.settings- Adds HD space cost configuration to admin settings
composer install
vendor/bin/phpunitThis package is licensed under the LGPL-2.1 license.