Download the PHP package pulli/timmehosting-soap-client without Composer
On this page you can find all versions of the php package pulli/timmehosting-soap-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pulli/timmehosting-soap-client
More information about pulli/timmehosting-soap-client
Files in pulli/timmehosting-soap-client
Package timmehosting-soap-client
Short Description ISPConfig SOAP Remote API SDK for TimmeHosting (and any ISPConfig-managed panel)
License MIT
Homepage https://github.com/the-pulli/timmehosting-soap-client
Informations about the package timmehosting-soap-client
ISPConfig SOAP Remote API SDK
Thin, typed PHP SDK for the ISPConfig Remote API (SOAP). Covers every endpoint Timme Hosting documents — 236 SOAP functions across 14 resource groups — with a generic escape hatch for anything beyond.
- One SOAP session per
Client, login lazily on first call, logout on destruct — no session juggling in user code - Functions grouped by resource:
$client->sites,$client->dns,$client->mail,$client->php,$client->cron,$client->server, … - Backed enums for ISPConfig's magic-string fields (
y/n,active/inactive, cron type, DNS record type, backup actions) - Generic
$client->call('soap_function_name', …)for anything not yet wrapped — session id is injected automatically - TLS verification on by default; flip per-instance for self-signed panels
\SoapClientis injectable for tests — seetests/ClientTest.php- Reference snapshot of every Timme example script archived in
reference/timme-ispconfig-api/so the canonical parameter shapes survive even if Timme reorganises
Installation
Requires PHP 8.4+ and ext-soap.
Usage
The examples below are a quick tour — for a detailed walkthrough of every typed function grouped by resource (with quirks, defaults, and enum usage for each), see USAGE.md.
Known ISPConfig quirks worth knowing
- DB names are auto-prefixed with
c<client_id>by ISPConfig — pass the suffix you want and read the returned record to learn the final full name. sites_redis_addhas the unusual signature($session, $params)— no$client_idargument. The SDK's$client->sites->addRedis($params)honours this.fastcgi_php_versionis a four-token colon-joined string:<name>:<fpm_init>:<fpm_ini>:<fpm_pool>.client_updatecan only be called by a reseller API user, not a plain Remote User.sites_supervisor_addis not exposed via the Remote API — supervisor jobs must be created in the panel UI; the SDK restarts existing ones.server_f2b_blacklist/_whitelistonly exposeadd,delete, and_get_all— no single-recordgetand noupdate.
Backed enums for the ISPConfig magic-string fields
Two flavours — see USAGE.md → Enums for the full table.
Method-argument enums (Pulli\TimmeSoapClient\Enums\*) — passed directly to wrapper methods:
| Enum | Values | Used by |
|---|---|---|
Toggle |
Yes='y', No='n' (+ fromBool()) |
Cron active |
Status |
Active='active', Inactive='inactive' (+ fromBool()) |
*_set_status |
CronType |
Url, Full, Chrooted |
Cron type |
DnsRecordType |
A, Aaaa, Alias, Cname, Hinfo, Mx, Ns, Ptr, Rp, Soa, Srv, Txt, Ds, Dnskey, Caa, Tlsa, Sshfp |
Dns::record(...) |
CrudOp |
Get, Add, Update, Delete |
Dns::record(...) |
BackupAction |
BackupDownload, BackupDownloadLink, BackupRestore |
Sites::backup(), Mail::userBackup() |
Param-value enums (Pulli\TimmeSoapClient\Enums\Params\*) — pass via ->value when building $params arrays:
| Enum | ISPConfig field | Values |
|---|---|---|
IpType |
server_ip.ip_type |
IPv4, IPv6 |
VhostType |
web_domain.type |
Vhost, Alias, Subdomain, VhostAlias, VhostSubdomain |
WebSubdomain |
web_domain.subdomain |
None, Www, Wildcard (*) |
PhpHandler |
web_domain.php |
Disabled (no), FastCgi, PhpFpm, Mod |
DatabaseType |
sites_database.type |
Mysql, Postgresql |
ChrootMode |
shell_user.chroot |
None (no), Jailkit, SshChroot |
DnsZoneType |
dns_zone.type |
Master, Slave (uppercase!) |
SslAction |
web_domain.ssl_action |
Create, Save, Delete (del) |
Resource coverage
See CHANGELOG.md for the per-resource endpoint list. Every SOAP function on https://timmehosting.de/ispconfig-api-schnittstelle-zur-automatisierung has a typed accessor.
Testing
The pre-commit hook (.githooks/pre-commit, auto-activated by
composer install) runs Pint + Pest before every commit.
License
MIT — see LICENSE.md.
All versions of timmehosting-soap-client with dependencies
ext-soap Version *