DirectAdmin API client library for PHP

Omines

Verified User
Joined
Dec 17, 2007
Messages
48
Hi all,

Today we have released the first semi-stable v0.1 release of our new DirectAdmin client library. As the previous attempts were mostly just thin wrappers around HTTP clients, barely updated and even less maintained, we decided to open source our efforts in creating the one-size-fits-all PHP client library for DirectAdmin.

It is:

To install:
Code:
composer require omines/directadmin

For the first release we focused on functionality that we needed internally, specifically user management, statististics and email management. The current list of implemented features can be found in the change log.

Basic code samples are provided on the Github home page, for more complex usage you could read the unit tests.

All feedback is welcome! If you need features that are not implemented, or find issues, OPEN A TICKET ON GITHUB.

Like our work? Star the project on Packagist so it will de facto replace the older libraries :)
 
Been rather swamped past 2 months, but just released v0.1.2 with database management and catch-all email management :)
 
a properly functioning api is still not available
httpsocket doesn't work either. I wonder when it will be fixed.
I would be glad if anyone who wants to share some kind of omines couldn't find a sample usage table.
 
a properly functioning api is still not available
httpsocket doesn't work either. I wonder when it will be fixed.
I would be glad if anyone who wants to share some kind of omines couldn't find a sample usage table.

That's a shame, I thought this one was working properly.
What kind of issues did you have with it?
 
Are we talking about a third party system or DA's API?

I don't use the DA API much but when I do it works very well. I create perl scripts instead of php but the API is the same either way from what I understand. They say more API calls can be created upon request https://www.directadmin.com/api.html
 
So far I have tested

- Account creation
- Account suspension
- Account unsuspension
- DB creation
- Email creation

It works flawless.
 
Back
Top