setono/post-nord-php-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

setono/post-nord-php-sdk

最新稳定版本:v2.0.0-alpha.3

Composer 安装命令:

composer require setono/post-nord-php-sdk

包简介

A PHP SDK for the PostNord API

README 文档

README

Latest Version Software License Build Status Code Coverage Mutation testing

A PHP SDK for the PostNord API.

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/post-nord-php-sdk

Usage

Here is an example showing you can get the nearest service points.

use Setono\PostNord\Client\Client;
use Setono\PostNord\Request\Query\ServicePoints\NearestByAddressQuery;

require_once __DIR__ . '/../vendor/autoload.php';

$client = new Client('b09ff56c6a0344768d5afaaec595b2fb');

$servicePoints = $client->servicePoints()->getNearestByAddress(NearestByAddressQuery::create(
    'Street name',
    'Street number',
    'Postal code',
    'City',
    'Country code',
    numberOfServicePoints: 10,
));

Framework integration

统计信息

  • 总下载量: 30.88k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-20