setono/gls-webservice-php-sdk
Composer 安装命令:
composer require setono/gls-webservice-php-sdk
包简介
A PHP SDK for the GLS webservice
README 文档
README
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');
统计信息
- 总下载量: 55.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-14