A MyAdmin plugin for provisioning and managing LiteSpeed Web Server and Load Balancer licenses. Integrates with the LiteSpeed licensing API to handle activation, deactivation, IP changes, and balance checks for both standard and VPS license types.
- Activate and deactivate LiteSpeed Web Server (LSWS) and Load Balancer (LSLB) licenses
- Support for multiple license tiers: 1-CPU, 2-CPU, 4-CPU, 8-CPU, VPS, and Ultra-VPS
- IP address change handling with automatic re-provisioning
- Credit balance monitoring before order placement
- Duplicate license detection to prevent double-provisioning
- Symfony EventDispatcher integration for hook-based architecture
- Admin menu integration for license listing
- PHP >= 5.0
- ext-soap
- symfony/event-dispatcher ^5.0
- detain/litespeed-licensing
Install with Composer:
composer require detain/myadmin-litespeed-licensingThe plugin registers itself through the MyAdmin hook system. Available hooks:
| Hook | Description |
|---|---|
licenses.settings |
Register LiteSpeed configuration |
licenses.activate |
Provision a new license |
licenses.reactivate |
Re-provision an existing license |
licenses.deactivate |
Cancel a license |
licenses.deactivate_ip |
Cancel a license by IP |
licenses.change_ip |
Change the IP on a license |
function.requirements |
Register function autoload paths |
ui.menu |
Add admin menu entries |
composer install
vendor/bin/phpunitLicensed under the LGPL-2.1-only license. See LICENSE for details.