|
1 | 1 | # Dedicated IP Addon for Webhosting Module in MyAdmin |
2 | 2 |
|
3 | | -Dedicated IP Addon for Webhosting Module in MyAdmin |
| 3 | +[](https://github.com/detain/myadmin-ip-webhosting-addon/actions/workflows/tests.yml) |
| 4 | +[](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) |
| 5 | +[](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) |
| 6 | +[](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) |
4 | 7 |
|
5 | | -## Build Status and Code Analysis |
| 8 | +A MyAdmin plugin addon that provides dedicated IP address management for the webhosting module. This package enables the purchase, assignment, and revocation of dedicated IP addresses on cPanel/WHM-based webhosting servers through the MyAdmin service management platform. |
6 | 9 |
|
7 | | -Site | Status |
8 | | ---------------|--------------------------- |
9 | | - | [](https://travis-ci.org/detain/myadmin-ip-webhosting-addon) |
10 | | - | [](https://codeclimate.com/github/detain/myadmin-ip-webhosting-addon) [](https://codeclimate.com/github/detain/myadmin-ip-webhosting-addon/coverage) [](https://codeclimate.com/github/detain/myadmin-ip-webhosting-addon) |
11 | | - | [](https://scrutinizer-ci.com/g/myadmin-plugins/ip-webhosting-addon/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/ip-webhosting-addon/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/ip-webhosting-addon/build-status/master) |
12 | | - | [](https://www.codacy.com/app/detain/myadmin-ip-webhosting-addon) [](https://www.codacy.com/app/detain/myadmin-ip-webhosting-addon?utm_source=github.com&utm_medium=referral&utm_content=detain/myadmin-ip-webhosting-addon&utm_campaign=Badge_Coverage) |
13 | | - | [](https://coveralls.io/github/detain/myadmin-ip-webhosting-addon?branch=master) |
14 | | - | [](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) [](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) [](//packagist.org/packages/detain/myadmin-ip-webhosting-addon) [](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) [](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) [](https://packagist.org/packages/detain/myadmin-ip-webhosting-addon) |
| 10 | +## Features |
15 | 11 |
|
| 12 | +- Sells dedicated IP addresses as an addon for webhosting services |
| 13 | +- Automatically assigns available IPs from the WHM server pool when enabled |
| 14 | +- Reverts to shared IP when the addon is disabled or canceled |
| 15 | +- Sends administrative email notifications for IP assignment events and errors |
| 16 | +- Integrates with the MyAdmin settings system for configurable IP pricing |
| 17 | +- Supports Symfony EventDispatcher hooks for seamless plugin integration |
16 | 18 |
|
17 | 19 | ## Installation |
18 | 20 |
|
19 | | -Install with composer like |
| 21 | +Install via Composer: |
20 | 22 |
|
21 | 23 | ```sh |
22 | 24 | composer require detain/myadmin-ip-webhosting-addon |
23 | 25 | ``` |
24 | 26 |
|
25 | | -## License |
| 27 | +## Requirements |
| 28 | + |
| 29 | +- PHP >= 5.0 |
| 30 | +- ext-soap |
| 31 | +- symfony/event-dispatcher ^5.0 |
| 32 | +- detain/myadmin-plugin-installer |
| 33 | + |
| 34 | +## Usage |
| 35 | + |
| 36 | +The plugin registers itself through the MyAdmin plugin system using Symfony EventDispatcher hooks. Once installed, it automatically integrates with the webhosting module to provide dedicated IP addon functionality. |
| 37 | + |
| 38 | +The plugin registers two event hooks: |
| 39 | + |
| 40 | +- `webhosting.load_addons` -- registers the dedicated IP addon with the service handler |
| 41 | +- `webhosting.settings` -- adds the IP cost configuration to the module settings |
26 | 42 |
|
27 | | -The Dedicated IP Addon for Webhosting Module in MyAdmin class is licensed under the LGPL-v2.1 license. |
| 43 | +## Testing |
| 44 | + |
| 45 | +```sh |
| 46 | +composer install |
| 47 | +vendor/bin/phpunit |
| 48 | +``` |
| 49 | + |
| 50 | +## License |
28 | 51 |
|
| 52 | +This package is licensed under the [LGPL-2.1-only](https://opensource.org/licenses/LGPL-2.1) license. |
0 commit comments