PHPackages                             detain/myadmin-directadmin-webhosting - 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. [API Development](/categories/api)
4. /
5. detain/myadmin-directadmin-webhosting

ActiveMyadmin-plugin[API Development](/categories/api)

detain/myadmin-directadmin-webhosting
=====================================

MyAdmin DirectAdmin Webhosting plugin providing automated provisioning, suspension, termination, and single-sign-on for DirectAdmin-based web hosting services via the DirectAdmin API.

v2.0.0(6y ago)42.5k1LGPL-2.1-onlyPHPPHP &gt;=5.0.0CI failing

Since Aug 29Pushed 3mo agoCompare

[ Source](https://github.com/myadmin-plugins/directadmin-webhosting)[ Packagist](https://packagist.org/packages/detain/myadmin-directadmin-webhosting)[ RSS](/packages/detain-myadmin-directadmin-webhosting/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

MyAdmin DirectAdmin Webhosting Plugin
=====================================

[](#myadmin-directadmin-webhosting-plugin)

[![Tests](https://github.com/detain/myadmin-directadmin-webhosting/actions/workflows/tests.yml/badge.svg)](https://github.com/detain/myadmin-directadmin-webhosting/actions/workflows/tests.yml)[![License: LGPL-2.1](https://camo.githubusercontent.com/847d19c58ab4434935fcc20486486e3e9a31bdeb80caba3ad7ea91658898d1d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4c47504c25323076322e312d626c75652e737667)](https://opensource.org/licenses/LGPL-2.1)

MyAdmin plugin for DirectAdmin web hosting management. Provides automated provisioning, suspension, reactivation, termination, and single-sign-on (SSO) login for DirectAdmin-based hosting accounts through the DirectAdmin API.

Features
--------

[](#features)

- Automated account creation (user and reseller) via DirectAdmin API
- Service suspension, unsuspension, and termination
- One-time URL login key generation for SSO
- IP address change support
- Event-driven architecture using Symfony EventDispatcher
- Built-in HTTPSocket class for DirectAdmin API communication

Requirements
------------

[](#requirements)

- PHP &gt;= 5.0
- ext-curl
- Symfony EventDispatcher ^5.0

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

[](#installation)

```
composer require detain/myadmin-directadmin-webhosting
```

Usage
-----

[](#usage)

The plugin registers event hooks automatically when loaded by the MyAdmin plugin system. It listens for webhosting lifecycle events (activate, deactivate, reactivate, terminate) and handles DirectAdmin API interactions.

API Reference
-------------

[](#api-reference)

- **Plugin** - Main plugin class providing event handlers for the MyAdmin system
- **HTTPSocket** - HTTP client class for communicating with the DirectAdmin API over curl

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

[](#running-tests)

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

License
-------

[](#license)

This package is licensed under the [LGPL-2.1](LICENSE).

Links
-----

[](#links)

- [DirectAdmin API Documentation](https://www.directadmin.com/api.php)
- [InterServer](https://my.interserver.net/)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance54

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% 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 ~0 days

Total

2

Last Release

2539d ago

Major Versions

v0.0.1 → v2.0.02019-08-29

### 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 (60 commits)")[![kumar-interserver](https://avatars.githubusercontent.com/u/29834101?v=4)](https://github.com/kumar-interserver "kumar-interserver (8 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

---

Tags

directadminlinuxmyadminwebhostingadministrationdirectadminwebhosting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/detain-myadmin-directadmin-webhosting/health.svg)

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

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k886.6M9.6k](/packages/symfony-http-kernel)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k257.3M12.3k](/packages/symfony-framework-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M775](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M417](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k190.0M2.6k](/packages/symfony-security-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)

PHPackages © 2026

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