kruegge82 / dhl-php-sdk
DHL SDK REST API for developer.dhl.com
Installs: 1 038
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 49
Open Issues: 0
Requires
- php: >=7.4.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
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
- Getting started (Just a quick guide how you have to use it)
- More examples soon
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 =)