Download the PHP package trizz/directadmin without Composer
On this page you can find all versions of the php package trizz/directadmin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download trizz/directadmin
More information about trizz/directadmin
Files in trizz/directadmin
Download trizz/directadmin
More information about trizz/directadmin
Files in trizz/directadmin
Vendor trizz
Package directadmin
Short Description A basic package to interact with the DirectAdmin API.
License MIT
Package directadmin
Short Description A basic package to interact with the DirectAdmin API.
License MIT
Please rate this library. Is it a good library?
Informations about the package directadmin
DirectAdmin
This library provides a simple abstract DirectAdmin class that can be used to create (simple) "components" to consume the DirectAdmin API.
How to use
There are two ways to use this library:
Without composer:
With composer:
Examples
There's a directory called /examples
that contains some example PHP files.
Available "components"
Below are the currently available classes.
General methods
There are some several methods that are available in every component.
Method | Description |
---|---|
setDomain($domain) |
Update the domain to use. Can be used to switch to another domain with the same user credentials. |
MailingList
This component allows you to manage the available mailing lists inside DirectAdmin. Available methods:
Method | Description |
---|---|
lists() |
Get an overview of the available mailing lists. |
addList($name) |
Add a new mailing list. |
deleteList($name) |
Remove a mailing list. |
getSubscribers($listName, $subscriberType = all) |
Get all subscribers for the specified list. The $subscriberType can be: subscribers or digest_subscribers. By default both types are returned. |
addAddress($address, $list, $type = 'list') |
Add a single email address to the specified mailing list. $type Can be "list" or "digest". Default: list. |
addAddresses($addresses, $list, $type = 'list') |
Add multiple email addresses to the specified mailing list. $type Can be "list" or "digest". Default: list. |
deleteAddress($address, $list, $type = 'list') |
Delete an email address from the specified list. $type Can be "list" or "digest". Default: list. |
deleteAddresses($addresses, $list, $type = 'list') |
Delete multiple email addresses from the specified mailing list. $type Can be "list" or "digest". Default: list. |
All versions of directadmin with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
The package trizz/directadmin contains the following files
Loading the files please wait ....