|
1 | 1 | # Dedicated Servers Module for MyAdmin |
2 | 2 |
|
3 | | -Dedicated Servers Module for MyAdmin |
| 3 | +[](https://github.com/detain/myadmin-servers-module/actions/workflows/tests.yml) |
| 4 | +[](https://packagist.org/packages/detain/myadmin-servers-module) |
| 5 | +[](https://packagist.org/packages/detain/myadmin-servers-module) |
| 6 | +[](https://packagist.org/packages/detain/myadmin-servers-module) |
4 | 7 |
|
5 | | -## Build Status and Code Analysis |
| 8 | +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. |
6 | 9 |
|
7 | | -Site | Status |
8 | | ---------------|--------------------------- |
9 | | - | [](https://travis-ci.org/detain/myadmin-servers-module) |
10 | | - | [](https://codeclimate.com/github/detain/myadmin-servers-module) [](https://codeclimate.com/github/detain/myadmin-servers-module/coverage) [](https://codeclimate.com/github/detain/myadmin-servers-module) |
11 | | - | [](https://scrutinizer-ci.com/g/myadmin-plugins/servers-module/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/servers-module/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/servers-module/build-status/master) |
12 | | - | [](https://www.codacy.com/app/detain/myadmin-servers-module) [](https://www.codacy.com/app/detain/myadmin-servers-module?utm_source=github.com&utm_medium=referral&utm_content=detain/myadmin-servers-module&utm_campaign=Badge_Coverage) |
13 | | - | [](https://coveralls.io/github/detain/myadmin-servers-module?branch=master) |
14 | | - | [](https://packagist.org/packages/detain/myadmin-servers-module) [](https://packagist.org/packages/detain/myadmin-servers-module) [](//packagist.org/packages/detain/myadmin-servers-module) [](https://packagist.org/packages/detain/myadmin-servers-module) [](https://packagist.org/packages/detain/myadmin-servers-module) [](https://packagist.org/packages/detain/myadmin-servers-module) |
| 10 | +## Features |
15 | 11 |
|
| 12 | +- Dedicated server service lifecycle management (activate, deactivate, enable, reactivate, disable, terminate) |
| 13 | +- Configurable billing with prorate support and customizable day offsets |
| 14 | +- Automated email notifications for server reactivation events and pending setup alerts |
| 15 | +- Admin settings panel with out-of-stock toggle for controlling server sales |
| 16 | +- Event-driven architecture using Symfony EventDispatcher hooks |
| 17 | +- Server status management with suspended and active-billing states |
16 | 18 |
|
17 | 19 | ## Installation |
18 | 20 |
|
19 | | -Install with composer like |
| 21 | +Install with Composer: |
20 | 22 |
|
21 | 23 | ```sh |
22 | 24 | composer require detain/myadmin-servers-module |
23 | 25 | ``` |
24 | 26 |
|
25 | | -## License |
| 27 | +## Configuration |
| 28 | + |
| 29 | +The module provides configurable settings through the `Plugin::$settings` array including service ID offsets, billing parameters, suspension thresholds, and database table mappings. |
| 30 | + |
| 31 | +## Testing |
| 32 | + |
| 33 | +Run the test suite with PHPUnit: |
26 | 34 |
|
27 | | -The Dedicated Servers Module for MyAdmin class is licensed under the LGPL-v2.1 license. |
| 35 | +```sh |
| 36 | +composer install |
| 37 | +vendor/bin/phpunit |
| 38 | +``` |
| 39 | + |
| 40 | +## License |
28 | 41 |
|
| 42 | +The Dedicated Servers Module for MyAdmin is licensed under the LGPL-v2.1 license. |
0 commit comments