podnik / subreg
这是与 soap.subreg.cz 通信的 Subreg API 抽象层
v1.0.4
2020-11-07 17:00 UTC
Requires
- php: >= 7.1
- ext-soap: *
Requires (Dev)
- contributte/dev: ^0.1.0
- podnik/api-panel: dev-main
- tracy/tracy: ^2.7
README
### 使用 Composer 安装
composer require podnik/subreg
初始化
类 Subreg 位于 Podnik 命名空间下
use Podnik\Subreg;
$subreg = new Subreg('login', 'password');
### 使用方法 类方法和参数的名称与 subreg.cz API 命令相对应(ssid 将自动传递)。
$response = $subreg->Info_Domain('domain.xyz');
所有可选参数都必须作为数组传递
$response = Upload_Document($name, $document, ['filetype' => 'value', 'type' => 'value])
//or with no optional parameters
$response = Upload_Document($name, $document)