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(1y ago)41.4k↓50%3MITPHPPHP &gt;=7.4.0

Since May 2Pushed 1y ago4 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 1mo ago

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

33

—

LowBetter than 75% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity48

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

707d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34c88e5bc8a2df40bb4ce36ffa6542d916db0741a1b8cb00cef2a890a044b0f9?d=identicon)[kruegge82](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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