PHP code example of tatarysh / soap-ceidg
1. Go to this page and download the library: Download tatarysh/soap-ceidg library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tatarysh / soap-ceidg example snippets
use TataRysh\Ceidg\CeidgClientFactory;
use TataRysh\Ceidg\Type\GetID;
use TataRysh\Ceidg\Type\GetMigrationData201901;
$token = 'your-token';
$client = CeidgClientFactory::factory();
$params = (new GetID())->withAuthToken($token);
$response = $client->getID($params);
var_dump($response->getGetIDResult());
$params = (new GetMigrationData201901())->withAuthToken($token);
$response = $client->getMigrationData201901($params);
var_dump($response->getGetMigrationData201901Result());