PHP code example of exegeseit / ezged-ws-client

1. Go to this page and download the library: Download exegeseit/ezged-ws-client 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/ */

    

exegeseit / ezged-ws-client example snippets






xeGeseIT\EzGEDWsClient\EzGEDClient;
use ExeGeseIT\EzGEDWsClient\EzGEDHelper;

$config = [
  'url' => 'https://myserver.io/ezged3',
  'user' => 'wsuser',
  'pwd' => 'YourPassW0$l*',
];;

//$ezWS = new EzGEDClient( $ezgedUrl=$config['url'], $httpclient=null, $apiUser=$config['user'], $apiPwd=$config['pwd'], $sslVerifyPeer=false);
$ezWS = (new EzGEDClient( $config['url'] ))
    ->setApiUser($config['user'])
    ->setApiPwd($config['pwd'])
    ->setSslVerifyPeer(false)
    ;


$response = $ezWS->connect(true);



$ezWS->logout();