Skip to content

Setono/gls-webservice-php-sdk

Repository files navigation

GLS Webservice PHP SDK

Latest Version Software License Build Status Code Coverage Mutation testing

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

Installation

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.

Usage

<?php
use Setono\GLS\Webservice\Client\Client;
use Setono\GLS\Webservice\Factory\SoapClientFactory;
use Setono\GLS\Webservice\Model\ParcelShop;

$client = new Client(new SoapClientFactory('https://www.gls.dk/webservices_v4/wsShopFinder.asmx?WSDL'));

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy