PHPackages                             solitweb/directadmin - 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. solitweb/directadmin

ActiveLibrary[API Development](/categories/api)

solitweb/directadmin
====================

PHP class for communicating with DirectAdmin API

3.0.2(5y ago)510.8k↓100%3[1 PRs](https://github.com/solitweb/directadmin/pulls)2MITPHPPHP ~5.6|~7.0|~8.0CI failing

Since Nov 26Pushed 3y ago4 watchersCompare

[ Source](https://github.com/solitweb/directadmin)[ Packagist](https://packagist.org/packages/solitweb/directadmin)[ Docs](https://github.com/solitweb/directadmin)[ RSS](/packages/solitweb-directadmin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (2)

PHP class for communicating with DirectAdmin API
================================================

[](#php-class-for-communicating-with-directadmin-api)

[![Latest Version](https://camo.githubusercontent.com/6f0099d1a86d6122ca910277c52165cc69a658b8a68f5d9e728c82096fd24d7e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736f6c69747765622f64697265637461646d696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/solitweb/directadmin/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/622410e28224f4309ae6ef3fab28e186119d04b164fed2fda4f6121ae62a0f02/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736f6c69747765622f64697265637461646d696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/solitweb/directadmin)[![Total Downloads](https://camo.githubusercontent.com/3d5acf6abf720250174dec27ffef7e87202de60c84fce8ba3d85dc72edcf75f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6c69747765622f64697265637461646d696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/solitweb/directadmin)

More info on the PHP class:

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

[](#installation)

You can install this package via Composer using:

```
composer require solitweb/directadmin
```

Usage
-----

[](#usage)

Basic usage. Get list of users owned by reseller:

```
$api = new DirectAdmin;
$api->connect("domain", 2222);
$api->set_login("username", "password");
$api->set_method('GET');
$api->query("/CMD_API_SHOW_USERS");
$api->fetch_parsed_body();
print_r($api);
```

[More sample API scripts](http://files.directadmin.com/services/all/httpsocket/examples/)

Credits
-------

[](#credits)

- [Phi1 'l0rdphi1' Stier](mailto:l0rdphi1@liquenox.net)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~1490 days

Total

2

Last Release

1966d ago

PHP version history (2 changes)3.0.1PHP ~5.6|~7.0

3.0.2PHP ~5.6|~7.0|~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a5690f03d3f16b5b6c060e87c00ee74124b027cb623fbbb51ab2e6a4e1f328e?d=identicon)[Solitweb](/maintainers/Solitweb)

---

Top Contributors

[![stijnvanouplines](https://avatars.githubusercontent.com/u/16742744?v=4)](https://github.com/stijnvanouplines "stijnvanouplines (9 commits)")[![joshuadegier](https://avatars.githubusercontent.com/u/2580917?v=4)](https://github.com/joshuadegier "joshuadegier (1 commits)")

---

Tags

apiclassdirectadmin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/solitweb-directadmin/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)[vatps/mailchimp-rest-api

Very Easy to use MailChimp REST Enabled API 3.0 Wrapper Class.

2877.3k](/packages/vatps-mailchimp-rest-api)

PHPackages © 2026

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