detain / myadmin-hd-vps-addon
HD Space addon plugin for the VPS module in MyAdmin, enabling purchase and management of additional hard drive space for virtual private servers.
Package info
github.com/myadmin-plugins/hd-vps-addon
Type:myadmin-plugin
pkg:composer/detain/myadmin-hd-vps-addon
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 15:46:22 UTC
README
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.
Features
- 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
Installation
Install via Composer:
composer require detain/myadmin-hd-vps-addon
Usage
The 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
Testing
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license.