parcelmonkeygroup/pmuk-sdk-php 问题修复 & 功能扩展

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

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

parcelmonkeygroup/pmuk-sdk-php

Composer 安装命令:

composer require parcelmonkeygroup/pmuk-sdk-php

包简介

PHP SDK for the Parcel Monkey UK API

README 文档

README

This package is an SDK to interact with the Parcel Monkey UK API. Using this you can book parcel deliveries from the UK to anywhere in the world.

Parcel Monkey UK gives you access to well known services such as Parcelforce, DHL, DPD, DX and more.

API Documentation & Version

Currently compatible with Version 3.0 of the Parcel Monkey UK API. https://www.parcelmonkey.co.uk/developers/

Installation

You can install this package using composer: composer require parcelmonkeygroup/pmuk-sdk-php

Basic Usage

Examples for each request object are in the /examples directory.

<?PHP

include_once('../vendor/autoload.php');

use parcelmonkeygroup\pmuksdk\client;
use parcelmonkeygroup\pmuksdk\HelloWorld;

// Add your credentials (obtain these from your account on parcelmonkey.co.uk)
$UserId   = 'YOURUSERID';
$ApiKey   = 'YOURAPIKEY';
$Version  = '3.0';

// Initialise the client 
$client = new client($UserId,$ApiKey, $Version);

// Create the request passing in the client
$request = new HelloWorld($client);
$request->setEcho('testing 123');

try {
  
  $response = $request->send();

  echo print_r($response,true);
  
} catch (\Exception $e) {
  
  echo $e->getMessage();
  
}

Support

Support is available at https://www.parcelmonkey.co.uk/help

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固