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.

Maintainers

Package info

github.com/myadmin-plugins/hd-vps-addon

Type:myadmin-plugin

pkg:composer/detain/myadmin-hd-vps-addon

Statistics

Installs: 382

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 1

v2.0.0 2019-04-04 08:07 UTC

This package is auto-updated.

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


README

Build Status Latest Stable Version Total Downloads License

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 requirement
  • vps.load_addons - Registers the HD space addon handler
  • vps.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.