detain/myadmin-ip-webhosting-addon

Dedicated IP Addon for Webhosting Module in MyAdmin

Maintainers

Package info

github.com/myadmin-plugins/ip-webhosting-addon

Type:myadmin-plugin

pkg:composer/detain/myadmin-ip-webhosting-addon

Statistics

Installs: 369

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 1

v2.0.0 2019-04-04 08:07 UTC

This package is auto-updated.

Last update: 2026-03-19 15:46:33 UTC


README

Tests Latest Stable Version Total Downloads License

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 handler
  • webhosting.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.