A PHP SDK for the GLS webservice

v1.2.1 2021-04-22 11:16 UTC

This package is auto-updated.

Last update: 2022-08-14 11:06:57 UTC


Latest Version Latest Unstable Version Software License Build Status Quality Score

A PHP SDK for the GLS webservice which is very commonly used to search for nearby pickup points.


Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:

$ composer require setono/gls-webservice-php-sdk

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.


use Setono\GLS\Webservice\Client\Client;
use Setono\GLS\Webservice\Factory\SoapClientFactory;
use Setono\GLS\Webservice\Model\ParcelShop;

$factory = new SoapClientFactory('');

$client = new Client($factory->create());

/** @var ParcelShop[] $parcelShops */
$parcelShops = $client->searchNearestParcelShops('Street', '12313', 'DK');