podnik / subreg
This is Subreg api abstraction layer for communicating with soap.subreg.cz
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
###installation with composer
composer require podnik/subreg
Init
Class Subreg is under Podnik namespace
use Podnik\Subreg;
$subreg = new Subreg('login', 'password');
###Usage Names of class methods and parameters correspond with subreg.cz API commands (ssid is passed automatically).
$response = $subreg->Info_Domain('domain.xyz');
All optional parameters have to be passed as an array
$response = Upload_Document($name, $document, ['filetype' => 'value', 'type' => 'value])
//or with no optional parameters
$response = Upload_Document($name, $document)