PHPackages                             nebbia-fitness/dhl-express-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. nebbia-fitness/dhl-express-php-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nebbia-fitness/dhl-express-php-sdk
==================================

DHL Express SDK

0.2.1(5y ago)04231MITPHPPHP &gt;=5.5.0

Since Nov 14Pushed 5y agoCompare

[ Source](https://github.com/nebbia-fitness/dhl-express-php-sdk)[ Packagist](https://packagist.org/packages/nebbia-fitness/dhl-express-php-sdk)[ RSS](/packages/nebbia-fitness-dhl-express-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Unoffical DHL Express PHP SDK
=============================

[](#unoffical-dhl-express-php-sdk)

This *unoffical* library is wrapping some functions of the **DHL Express** JSON/REST API (called MyDHL\_API).

To get a SDK for **standard DHL** shipping, please have a look at the great SDK from [Petschko](https://github.com/Petschko/dhl-php-sdk) i've used for inspiration.

Requirements
------------

[](#requirements)

- test (and live) credentials from the DHL Express Tech Contact
- PHP-Version 5.5 or higher *(It may work on older Versions, but I don't offer Support for these)*
- [Guzzle](http://docs.guzzlephp.org/en/stable/) installed

Compatibility
-------------

[](#compatibility)

This Project is written for the MyDHL API **v1**.

Install
-------

[](#install)

You can use [Composer](https://getcomposer.org/) to install the package to your project:

`composer require nebbia-fitness/dhl-express-php-sdk`

Supported API Operations
------------------------

[](#supported-api-operations)

OperationsupportedRateRequestnoShipmentRequestyesTrackingRequestnoDocumentRetrievenoupdateShipmentnorequestPickupnoUsage
-----

[](#usage)

see [examples](/examples) for basic examples and scripts to generate test labels (see below)

Request Access to live API
--------------------------

[](#request-access-to-live-api)

To get the credentials for the live account, DHL requested test labels for some scenarios:

The test scripts can be found in the [examples](/examples) folder:

1. National shipping with saturday delivery - [test\_1.php](/examples/test_1.php)
2. National shipping time option and 2 packages - [test\_2.php](/examples/test_2.php)
3. International shipping not liable to duty - [test\_3.php](/examples/test_3.php)
4. International shipping liable to duty - [test\_4.php](/examples/test_4.php)
5. International shipping liable to duty with service DDP - [test\_5.php](/examples/test_5.php)
6. International shipping liable to duty with different payment account - [test\_6.php](/examples/test_6.php)

Things i've learned during testing the API
------------------------------------------

[](#things-ive-learned-during-testing-the-api)

- The "InternationalDetail" part is mandatory even if its national package
- StreetName and StreetNumber in der Address don't have any effect right now, the "StreetLines" field is always used
- Company Name in the Recipient address is the name on the package (first line)
- Package Dimensions are mandatory, but they don't have to be exact (DHL will check them anyway) - so it is possible to always use the smallest package size you have
- "StreetLine" could **not** be used for any additional name - use "StreetLines2" for this - always use it for street name and number

More details will follow soon. This package is WIP.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~120 days

Total

4

Last Release

2011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ac9bdd7b00d31612964e78d32fde2b346252671da0706c9ff3bc797e5e647b9?d=identicon)[arzzen](/maintainers/arzzen)

---

Top Contributors

[![alex-LE](https://avatars.githubusercontent.com/u/1616675?v=4)](https://github.com/alex-LE "alex-LE (18 commits)")[![arzzen](https://avatars.githubusercontent.com/u/6382002?v=4)](https://github.com/arzzen "arzzen (3 commits)")

### Embed Badge

![Health badge](/badges/nebbia-fitness-dhl-express-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/nebbia-fitness-dhl-express-php-sdk/health.svg)](https://phpackages.com/packages/nebbia-fitness-dhl-express-php-sdk)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
