Skip to content

PHP DirectAdminApi is a wrapper for the DirectAdmin Api to make the usage of the Api simple as much as possible

Notifications You must be signed in to change notification settings

NSURLSession0/DirectAdminApi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Direct Admin API

This is a set of classes to communicate with Direct Admin (DA) via the Direct Admin API to configurate some things in for your webserver without login in to Direct Admin itself.

With this library you can control your webserver in your own environment, for example your very own CMS.

How to use

You can use the wrapper Directadmin class like this:

$da = new DirectAdmin('da.example.com', 2222, 'login', 'pass', 'my.domain.com');
$bandwidth = $da->site->bandwidth();

You can also use the API classes individually, see demo/example.php for more examples.

About

PHP DirectAdminApi is a wrapper for the DirectAdmin Api to make the usage of the Api simple as much as possible

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%