1. Go to this page and download the library: Download cobwebinfo/cobra5-php-sdk 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/ */
cobwebinfo / cobra5-php-sdk example snippets
$soap = new SoapClient('http://api.cobwebinfo.com/server/soap?wsdl');
use CobwebInfo\Cobra5Sdk\Authentication\SoapApiKeyAuthentication;
$auth = new SoapApiKeyAuthentication('Auth', 'api_key');
use CobwebInfo\Cobra5Sdk\Client\Cobra5SoapClient;
$client = new Cobra5SoapClient($soap, $auth);
use CobwebInfo\Cobra5Sdk\Cobra5;
$cobra5 = new Cobra5($client);