kruegge82/dhl-php-sdk

This package is abandoned and no longer maintained. The author suggests using the kruegge82/dhl-php-rest-sdk package instead.

DHL SDK REST API for developer.dhl.com

v2.1.9.1 2024-06-01 12:48 UTC

This package is auto-updated.

Last update: 2025-03-02 09:17:18 UTC


README

updated to the new REST API -> DHL PHP REST API

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

  • You need a DHL developer Account 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

Composer

You can use Composer to install the package to your project:

composer require kruegge82/dhl-php-sdk

The classes are then added to the autoloader automatically.

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-File from the /includes/ directory.

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

Compatibility

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

Usage / Getting started

Please have a look at the examples Directory. There you can find how to use this SDK also with Code-Examples.

Donate

If you like this Project may consider to Donate. 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

  • You can Report Bugs here in the "Issue"-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 =)