Skip to content

myadmin-plugins/litespeed-licensing

Repository files navigation

MyAdmin LiteSpeed Licensing

Tests Latest Stable Version Total Downloads License

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.

Features

  • 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

Requirements

  • PHP >= 5.0
  • ext-soap
  • symfony/event-dispatcher ^5.0
  • detain/litespeed-licensing

Installation

Install with Composer:

composer require detain/myadmin-litespeed-licensing

Usage

The 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

Running Tests

composer install
vendor/bin/phpunit

License

Licensed under the LGPL-2.1-only license. See LICENSE for details.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages