GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - myadmin-plugins/cloudlinux-licensing

BranchesTags
Open more actions menu

Latest commit

 

History

187 Commits
187 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github/workflows
.github/workflows
 
 
.idea
.idea
 
 
bin
bin
 
 
src
src
 
 
tests
tests
 
 
.bettercodehub.yml
.bettercodehub.yml
 
 
.codeclimate.yml
.codeclimate.yml
 
 
.gitignore
.gitignore
 
 
.scrutinizer.yml
.scrutinizer.yml
 
 
.travis.yml
.travis.yml
 
 
.whitesource
.whitesource
 
 
CALIBER_LEARNINGS.md
CALIBER_LEARNINGS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

MyAdmin CloudLinux Licensing Plugin

Tests Latest Stable Version Total Downloads License

A MyAdmin plugin for managing CloudLinux, KernelCare, and Imunify360 license provisioning. This package integrates with the MyAdmin panel plugin system using Symfony EventDispatcher to handle license activation, deactivation, IP changes, and listing through the CloudLinux XML-RPC API.

Features

  • Automated provisioning of CloudLinux, KernelCare, and Imunify360 licenses
  • License activation and deactivation with IP address management
  • IP address change support with automatic license migration
  • Admin-only license listing interface
  • Out-of-stock control via settings
  • Email notifications for failed deactivations

Supported License Types

Product Type ID
CloudLinux License 1
KernelCare License 16
ImunityAV+ 40
Imunity360 Single User 41
Imunity360 Up to 30 Users 42
Imunity360 Up to 250 Users 43
Imunity360 Unlimited Users 49

Requirements

  • PHP >= 5.3.0
  • ext-curl
  • detain/cloudlinux-licensing (CloudLinux API client)
  • symfony/event-dispatcher ^5.0

Installation

composer require detain/myadmin-cloudlinux-licensing

Configuration

The plugin requires the following constants to be defined in your application:

define('CLOUDLINUX_LOGIN', 'your-login');
define('CLOUDLINUX_KEY', 'your-api-key');
define('OUTOFSTOCK_LICENSES_CLOUDLINUX', 0); // 0 = in stock, 1 = out of stock

Usage

Register the plugin hooks with your Symfony EventDispatcher instance:

use Detain\MyAdminCloudlinux\Plugin;

$hooks = Plugin::getHooks();
foreach ($hooks as $event => $handler) {
    $dispatcher->addListener($event, $handler);
}

Running Tests

composer install
vendor/bin/phpunit

To generate a coverage report:

vendor/bin/phpunit --coverage-text

License

This package is licensed under the LGPL-2.1-only license.

About

No description or website provided.

Topics

cloudlinuxlicensemyadminplugin

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.