Download the PHP package cubes-doo/my-dhl without Composer
On this page you can find all versions of the php package cubes-doo/my-dhl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package my-dhl
Cubes MyDhl SDK
Unofficial SDK for the MyDHL API
:warning: 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.
Index of examples for supported features:
- RateRequest
- ShipmentRequest
- ShipmentDeleteRequest
:warning: 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'stoIso8601String()
method, like so:now()->toIso8601String()
to populate these attributes -
some attributes will have a docblock like this:
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.
All versions of my-dhl with dependencies
PHP Build Version
Package Version
No informations.
The package cubes-doo/my-dhl contains the following files
Loading the files please wait ....