vladivanciu/my-dhl 问题修复 & 功能扩展

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

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

vladivanciu/my-dhl

Composer 安装命令:

composer require vladivanciu/my-dhl

包简介

Unofficial SDK for the MyDHL API

README 文档

README

Unofficial SDK for the MyDHL API

Latest Stable Version Total Downloads License

⚠️ Attention! This SDK was developed to be used with Laravel and tested against the MyDHL API v1.6

Supported Features

Feature Supported
RateRequest
ShipmentRequest
ShipmentDeleteRequest
TrackingRequest
DocumentRetrieve
updateShipment
requestPickup
updatePickup

Installation

Require this package with composer.

composer require cubes-doo/my-dhl

Index of examples for supported features:

  1. RateRequest
  2. ShipmentRequest
  3. ShipmentDeleteRequest

⚠️ Things to keep in mind in general:

  • this is an SDK for a SOAP API; There are a lot of simple classes that only have attributes and constructors - this is so that we could better define what DHL's API expects as arguments; It might be tedious, but this is why examples are provided for every one of the supported API calls
  • if you see a datetime attribute, it should usually be filled w/ a date-time string in the format YYYY-MM-DDTHH:MM:SSGMT+k; This format corresponds w/ the ISO 8601 standard; Luckly Carbon's got your back; It is highly reccomended you use Carbon's toIso8601String() method, like so: now()->toIso8601String() to populate these attributes
  • some attributes will have a docblock like this:
        /**
         * Possible values:
         * + 'Y' or 1, ...
         * ...
         * + 'N' or 0, ...
         */
    avoid mixing these two options. If you want, use 'y'/'n' on all such attributes, or stick to 1/0 instead. No constants are provided for these, because they are self explanatory, one character values.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-05-25