PHPackages                             detain/myadmin-cpanel-vps-addon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. detain/myadmin-cpanel-vps-addon

ActiveMyadmin-plugin[Admin Panels](/categories/admin)

detain/myadmin-cpanel-vps-addon
===============================

Cpanel Addon for VPS Module in MyAdmin

v2.0.0(7y ago)98502[1 issues](https://github.com/myadmin-plugins/cpanel-vps-addon/issues)[1 PRs](https://github.com/myadmin-plugins/cpanel-vps-addon/pulls)LGPL-2.1-onlyPHPPHP &gt;=5.0.0CI failing

Since Jun 24Pushed 1w agoCompare

[ Source](https://github.com/myadmin-plugins/cpanel-vps-addon)[ Packagist](https://packagist.org/packages/detain/myadmin-cpanel-vps-addon)[ RSS](/packages/detain-myadmin-cpanel-vps-addon/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (9)Versions (4)Used By (0)

cPanel VPS Addon for MyAdmin
============================

[](#cpanel-vps-addon-for-myadmin)

[![Tests](https://github.com/detain/myadmin-cpanel-vps-addon/actions/workflows/tests.yml/badge.svg)](https://github.com/detain/myadmin-cpanel-vps-addon/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/c64416ed486bdf857ad74678fa2bf1c91228e99f9fd70117d550e0651ca20856/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6370616e656c2d7670732d6164646f6e2f76657273696f6e)](https://packagist.org/packages/detain/myadmin-cpanel-vps-addon)[![Total Downloads](https://camo.githubusercontent.com/739d78f684544f965b62858a6c13aa78c8648d79b4e7685f79495cfe18478197/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6370616e656c2d7670732d6164646f6e2f646f776e6c6f616473)](https://packagist.org/packages/detain/myadmin-cpanel-vps-addon)[![License](https://camo.githubusercontent.com/a36017c0be79bc40723cb4e6d253a91b1169ef407a1a4b5a2ce6dd3b0a4ef453/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6370616e656c2d7670732d6164646f6e2f6c6963656e7365)](https://packagist.org/packages/detain/myadmin-cpanel-vps-addon)

A MyAdmin plugin that provides cPanel license management as a VPS addon. This package integrates with the MyAdmin hosting management platform to allow automated provisioning, activation, and deactivation of cPanel licenses on VPS instances.

Features
--------

[](#features)

- Automated cPanel license activation when a VPS addon is purchased
- Automated cPanel license deactivation on cancellation with admin email notification
- IP-based license status checking before activation/deactivation
- Integration with MyAdmin's event dispatcher for hook-based plugin loading
- Configurable addon cost via the MyAdmin settings interface

Installation
------------

[](#installation)

Install via Composer:

```
composer require detain/myadmin-cpanel-vps-addon
```

The package registers itself automatically through the MyAdmin plugin system. The following event hooks are registered:

EventHandlerPurpose`function.requirements``getRequirements`Registers the page requirement function`vps.load_addons``getAddon`Registers the cPanel addon with the VPS module`vps.settings``getSettings`Adds the cPanel cost setting to the admin UIConfiguration
-------------

[](#configuration)

The addon cost is configurable through the MyAdmin admin panel under VPS module settings. The setting `VPS_CPANEL_COST` controls the price charged for the cPanel license addon.

Running Tests
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit
```

To generate a coverage report:

```
vendor/bin/phpunit --coverage-html build/coverage
```

License
-------

[](#license)

This package is licensed under the [LGPL-2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) license.

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance62

Regular maintenance activity

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~649 days

Total

2

Last Release

2592d ago

Major Versions

v1.1.0 → v2.0.02019-04-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1036e0717211b8030b83cbe729e8ba6ba442fdbd5285fb97a39d7dcfe339342?d=identicon)[detain](/maintainers/detain)

---

Top Contributors

[![detain](https://avatars.githubusercontent.com/u/1364504?v=4)](https://github.com/detain "detain (145 commits)")

---

Tags

addoncpanelmyadminpluginvpslicenseadministrationcpanel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/detain-myadmin-cpanel-vps-addon/health.svg)

```
[![Health](https://phpackages.com/badges/detain-myadmin-cpanel-vps-addon/health.svg)](https://phpackages.com/packages/detain-myadmin-cpanel-vps-addon)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
