Skip to content

myadmin-plugins/hd-vps-addon

Repository files navigation

MyAdmin HD Space VPS Addon

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.

About

Additional HD Storage Space Addon for VPS Module in MyAdmin.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages