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

Abandoned → [kruegge82/dhl-php-rest-sdk](/?search=kruegge82%2Fdhl-php-rest-sdk)ArchivedLibrary[API Development](/categories/api)

kruegge82/dhl-php-sdk
=====================

DHL SDK REST API for developer.dhl.com

v2.1.9.1(2y ago)41.4k↓88.2%2MITPHPPHP &gt;=7.4.0

Since May 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kruegge82/dhl-php-sdk)[ Packagist](https://packagist.org/packages/kruegge82/dhl-php-sdk)[ RSS](/packages/kruegge82-dhl-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (6)Used By (0)

DEPRECATED
==========

[](#deprecated)

updated to the new REST API -&gt; [DHL PHP REST API](https://github.com/kruegge82/dhl-php-rest-sdk)

DHL PHP SDK
===========

[](#dhl-php-sdk)

This *unofficial* library is wrapping some functions of the DHL REST API in order to easy create/delete shipments and labels.

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

[](#requirements)

- You need a [DHL developer Account](https://developer.dhl.com/) and - as long as you want to use the API in production systems - a DHL Geschäftskundenportal Account.
- PHP-Version 7.4 or higher *(It may work on older Versions, but I don't offer Support for these)*

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

[](#installation)

### Composer

[](#composer)

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

```
composer require kruegge82/dhl-php-sdk

```

The classes are then added to the autoloader automatically.

### Without Composer

[](#without-composer)

If you can't use Composer (or don't want to), you can also use this SDK without it.

To initial this SDK, just require the [\_nonComposerLoader.php](https://github.com/kruegge82/dhl-php-sdk/blob/master/includes/_nonComposerLoader.php)-File from the `/includes/` directory.

```
require_once(__DIR__ . '/includes/_nonComposerLoader.php');
```

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

[](#compatibility)

This Project is written for the DHL-REST-API **Version 2.1.1 or higher**.

Usage / Getting started
-----------------------

[](#usage--getting-started)

- [Getting started (Just a quick guide how you have to use it)](https://github.com/kruegge82/dhl-php-sdk/blob/master/examples/getting-started.md)
- *More examples soon*

Please have a look at the `examples` [Directory](https://github.com/kruegge82/dhl-php-sdk/tree/master/examples). There you can find how to use this SDK also with Code-Examples.

Donate
------

[](#donate)

If you like this Project may consider to [Donate](https://www.paypal.me/jahn82). I usually do this Project in my spare time and it's completely free. So I appreciate anything, which helps the Project (Pull-Requests, Bug Report etc), these are more worth than Donations but I'm happy for every amount as well. ^.^

Contact
-------

[](#contact)

- You can Report Bugs here in the "[Issue](https://github.com/kruegge82/dhl-php-sdk/issues)"-Section of the Project.
    - Of course you can also ask any stuff there, feel free for that!
    - If you want to use German, you can do it. Please keep in mind that not everybody can speak German, so it's better to use english =)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.9% 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 ~128 days

Total

4

Last Release

763d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6518148?v=4)[Jahn](/maintainers/kruegge82)[@kruegge82](https://github.com/kruegge82)

---

Top Contributors

[![Petschko](https://avatars.githubusercontent.com/u/673011?v=4)](https://github.com/Petschko "Petschko (244 commits)")[![kruegge82](https://avatars.githubusercontent.com/u/6518148?v=4)](https://github.com/kruegge82 "kruegge82 (26 commits)")[![cedricziel](https://avatars.githubusercontent.com/u/418970?v=4)](https://github.com/cedricziel "cedricziel (4 commits)")[![tredmann](https://avatars.githubusercontent.com/u/2635078?v=4)](https://github.com/tredmann "tredmann (2 commits)")[![nastymadecode](https://avatars.githubusercontent.com/u/25632678?v=4)](https://github.com/nastymadecode "nastymadecode (2 commits)")[![dasistdaniel](https://avatars.githubusercontent.com/u/2505795?v=4)](https://github.com/dasistdaniel "dasistdaniel (1 commits)")[![aschempp](https://avatars.githubusercontent.com/u/1073273?v=4)](https://github.com/aschempp "aschempp (1 commits)")[![OliverTempel](https://avatars.githubusercontent.com/u/9313042?v=4)](https://github.com/OliverTempel "OliverTempel (1 commits)")[![Dakror](https://avatars.githubusercontent.com/u/2452821?v=4)](https://github.com/Dakror "Dakror (1 commits)")[![s5w95](https://avatars.githubusercontent.com/u/4512259?v=4)](https://github.com/s5w95 "s5w95 (1 commits)")[![klimser](https://avatars.githubusercontent.com/u/2890543?v=4)](https://github.com/klimser "klimser (1 commits)")

---

Tags

apidhlphprest

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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