PHPackages                             mtcmedia/dhl-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. [HTTP &amp; Networking](/categories/http)
4. /
5. mtcmedia/dhl-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mtcmedia/dhl-api
================

PHP library to communicate with the DHL XML Services.

v2.0.8(7mo ago)1246.6k↓12.7%22MITPHPPHP &gt;=7.1

Since Dec 15Pushed 7mo ago5 watchersCompare

[ Source](https://github.com/mtcmedia/dhl-api)[ Packagist](https://packagist.org/packages/mtcmedia/dhl-api)[ RSS](/packages/mtcmedia-dhl-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (30)Used By (0)

DHL API
=======

[](#dhl-api)

- [Installation](#installation)
- [Usage](#usage)

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

[](#installation)

Package should be installed through composer:

```
composer require mtcmedia/dhl-api
```

Package requires a php min version of 7.1, however it has has been developed and tested on php 7.2.\*

Usage
-----

[](#usage)

You will need Sandbox account to start setup. You can request your unique credentials by registering for the XML Portal

DHL Documentation:

DHL XML Services Test Harness: [https://xmlpi-validation.dhl.com/serviceval/jsps/main/Main\_menu.jsp](https://xmlpi-validation.dhl.com/serviceval/jsps/main/Main_menu.jsp)

DHL XML Services Test server for customer certification:

[Quote Requests (v6.1)](docs/quote.md)

[Route Requests (v1.0)](docs/route.md)

[Shipment Requests (v10.0)](docs/shipment.md)

[Pickup Request (v1.0)](docs/pickup.md)

[Tracking Requests (v1.0)](docs/tracking.md)

Changelog
=========

[](#changelog)

v1.x - uses Shipment API v6.2

v2.x - uses Shipment API v10.0

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](contributing.md) for details.

### Security

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The package is provided under MIT License. Please see [License File](license.md) for more information.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance65

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~180 days

Recently: every ~278 days

Total

23

Last Release

215d ago

Major Versions

0.2.10 → 1.0.02019-04-21

1.0.1 → v2.0.02021-06-17

PHP version history (3 changes)0.1.9PHP &gt;=5.3.0

1.0.0PHP &gt;=7.0

v2.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ce2a7fef294137f0a2f257906250cf8839a046f801ec7b71fefcfb386a9c674?d=identicon)[MaFx](/maintainers/MaFx)

---

Top Contributors

[![MaFx](https://avatars.githubusercontent.com/u/1629391?v=4)](https://github.com/MaFx "MaFx (12 commits)")[![alfallouji](https://avatars.githubusercontent.com/u/80544?v=4)](https://github.com/alfallouji "alfallouji (11 commits)")[![bambinifashion-com](https://avatars.githubusercontent.com/u/107098675?v=4)](https://github.com/bambinifashion-com "bambinifashion-com (6 commits)")[![iamarpitpatidar](https://avatars.githubusercontent.com/u/44097148?v=4)](https://github.com/iamarpitpatidar "iamarpitpatidar (4 commits)")[![tester2013acc](https://avatars.githubusercontent.com/u/83492889?v=4)](https://github.com/tester2013acc "tester2013acc (4 commits)")[![VoDmAl](https://avatars.githubusercontent.com/u/248879?v=4)](https://github.com/VoDmAl "VoDmAl (3 commits)")[![yunmoxue](https://avatars.githubusercontent.com/u/2329555?v=4)](https://github.com/yunmoxue "yunmoxue (2 commits)")[![jordanevansmtc](https://avatars.githubusercontent.com/u/237986189?v=4)](https://github.com/jordanevansmtc "jordanevansmtc (1 commits)")[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (1 commits)")[![jackdonaldsonmtc](https://avatars.githubusercontent.com/u/186027108?v=4)](https://github.com/jackdonaldsonmtc "jackdonaldsonmtc (1 commits)")[![tiagojdf](https://avatars.githubusercontent.com/u/1483616?v=4)](https://github.com/tiagojdf "tiagojdf (1 commits)")[![eduardlleshi](https://avatars.githubusercontent.com/u/6278258?v=4)](https://github.com/eduardlleshi "eduardlleshi (1 commits)")[![buinguyenkhoa](https://avatars.githubusercontent.com/u/6000039?v=4)](https://github.com/buinguyenkhoa "buinguyenkhoa (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mtcmedia-dhl-api/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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