detain / myadmin-ip-webhosting-addon
Dedicated IP Addon for Webhosting Module in MyAdmin
Package info
github.com/myadmin-plugins/ip-webhosting-addon
Type:myadmin-plugin
pkg:composer/detain/myadmin-ip-webhosting-addon
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:46:33 UTC
README
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.
Features
- Sells dedicated IP addresses as an addon for webhosting services
- Automatically assigns available IPs from the WHM server pool when enabled
- Reverts to shared IP when the addon is disabled or canceled
- Sends administrative email notifications for IP assignment events and errors
- Integrates with the MyAdmin settings system for configurable IP pricing
- Supports Symfony EventDispatcher hooks for seamless plugin integration
Installation
Install via Composer:
composer require detain/myadmin-ip-webhosting-addon
Requirements
- PHP >= 5.0
- ext-soap
- symfony/event-dispatcher ^5.0
- detain/myadmin-plugin-installer
Usage
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.
The plugin registers two event hooks:
webhosting.load_addons-- registers the dedicated IP addon with the service handlerwebhosting.settings-- adds the IP cost configuration to the module settings
Testing
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1-only license.