Skip to content

solitweb/directadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP class for communicating with DirectAdmin API

Latest Version Software License Build Status Total Downloads

More info on the PHP class: http://forum.directadmin.com/showthread.php?t=258

Installation

You can install this package via Composer using:

composer require solitweb/directadmin

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

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PHP class for communicating with DirectAdmin API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages