PHP code example of szeidler / halda-php-sdk
1. Go to this page and download the library: Download szeidler/halda-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/ */
szeidler / halda-php-sdk example snippets
use Halda\HaldaClient;
$client = new HaldaClient([
'baseUrl' => '"https://www.halda.se/HaldaAppService/AppService.svc',
'code' => 'Azd9kDr2V',
]);
$order = $client->lookupOrder(['Orderid' => 12345]);
print $order->offsetGet('ExternalOrderNo');