detain / myadmin-servers-module
Dedicated Servers Module for MyAdmin
Package info
github.com/myadmin-plugins/servers-module
Type:myadmin-plugin
pkg:composer/detain/myadmin-servers-module
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:49:16 UTC
README
A MyAdmin plugin module that provides dedicated server management capabilities. It integrates with the MyAdmin service lifecycle to handle server provisioning, activation, reactivation, deactivation, and suspension through the Symfony EventDispatcher system.
Features
- Dedicated server service lifecycle management (activate, deactivate, enable, reactivate, disable, terminate)
- Configurable billing with prorate support and customizable day offsets
- Automated email notifications for server reactivation events and pending setup alerts
- Admin settings panel with out-of-stock toggle for controlling server sales
- Event-driven architecture using Symfony EventDispatcher hooks
- Server status management with suspended and active-billing states
Installation
Install with Composer:
composer require detain/myadmin-servers-module
Configuration
The module provides configurable settings through the Plugin::$settings array including service ID offsets, billing parameters, suspension thresholds, and database table mappings.
Testing
Run the test suite with PHPUnit:
composer install vendor/bin/phpunit
License
The Dedicated Servers Module for MyAdmin is licensed under the LGPL-v2.1 license.