podnik/subreg

这是与 soap.subreg.cz 通信的 Subreg API 抽象层

v1.0.4 2020-11-07 17:00 UTC

This package is auto-updated.

Last update: 2024-09-08 01:12:27 UTC


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)