PHPackages                             korbeil/dhl-express-php-api - 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. [API Development](/categories/api)
4. /
5. korbeil/dhl-express-php-api

ActiveLibrary[API Development](/categories/api)

korbeil/dhl-express-php-api
===========================

An up to date PHP client for DHL Express API

v1.0.6(2y ago)693.1k↓25.6%1[1 issues](https://github.com/Korbeil/dhl-express-php-api/issues)MITPHPPHP ^8.0

Since Feb 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Korbeil/dhl-express-php-api)[ Packagist](https://packagist.org/packages/korbeil/dhl-express-php-api)[ RSS](/packages/korbeil-dhl-express-php-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (8)Used By (0)

A PHP client for DHL Express API
================================

[](#a-php-client-for-dhl-express-api)

I found close to nothing related to DHL Express API and needed it for a customer. So here I decided to make it open-source so everybody could use it freely.

This SDK is generated automatically with [JanePHP](https://github.com/janephp/janephp)from the [official DHL Express specs](https://developer.dhl.com/api-reference/dhl-express-mydhl-api).

It also provides a **full object oriented interface** for all the endpoints, requests and responses of the DHL Express REST API.

Installation
------------

[](#installation)

This library is made with [`symfony/http-client`](https://symfony.com/doc/current/http_client.html) as our HTTP transport. So by installing it, you'll have close to nothing in order to make it work:

```
composer require korbeil/dhl-express-php-api
```

Quick start
-----------

[](#quick-start)

```
// $client contains all the methods to interact with the API
$clientFactory = new Korbeil\DHLExpress\ClientFactory($dhlExpressUrl, $dhlExpressUsername, $dhlExpressPassword);
$client = $clientFactory->getClient();

$pickupRequest = new Korbeil\DHLExpress\Api\Model\SupermodelIoLogisticsExpressPickupRequest();
// ... fill your request contents

$response = $client->expApiPickups($pickupRequest);
$trackingNumbers = $response->getDispatchConfirmationNumbers();
```

Tests
-----

[](#tests)

If you want to use the DHL Express API in your tests, you can get a client dedicated for this purpose by doing as following:

```
$testClient = $clientFactory->getMockClient();
```

License
-------

[](#license)

This library is licensed under the MIT License - see the [LICENSE](LICENSE.md)file for details.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~25 days

Recently: every ~36 days

Total

7

Last Release

1029d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/944409?v=4)[Baptiste Leduc](/maintainers/Korbeil)[@Korbeil](https://github.com/Korbeil)

---

Top Contributors

[![Korbeil](https://avatars.githubusercontent.com/u/944409?v=4)](https://github.com/Korbeil "Korbeil (12 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (1 commits)")

---

Tags

apiclientsdkswaggeropenapiexpressdhl

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/korbeil-dhl-express-php-api/health.svg)

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

###  Alternatives

[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[openai-php/symfony

Symfony Bundle for OpenAI

215715.5k3](/packages/openai-php-symfony)[mozex/anthropic-php

Anthropic PHP is a supercharged community-maintained PHP API client that allows you to interact with Anthropic API.

46365.1k13](/packages/mozex-anthropic-php)[jolicode/harvest-php-api

An up to date PHP client for Harvest's API

2259.9k](/packages/jolicode-harvest-php-api)

PHPackages © 2026

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