PHPackages                             mohamedhekal/shipbridge-dhl - 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. mohamedhekal/shipbridge-dhl

ActiveLibrary

mohamedhekal/shipbridge-dhl
===========================

DHL Express carrier driver for ShipBridge (Global)

v0.2.0(1mo ago)02↓75%1MITPHPPHP ^8.2CI passing

Since Jul 16Pushed 1mo agoCompare

[ Source](https://github.com/mohamedhekal/shipbridge-dhl)[ Packagist](https://packagist.org/packages/mohamedhekal/shipbridge-dhl)[ Docs](https://github.com/mohamedhekal/shipbridge-dhl)[ RSS](/packages/mohamedhekal-shipbridge-dhl/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

ShipBridge · DHL Express
========================

[](#shipbridge--dhl-express)

[![CI](https://github.com/mohamedhekal/shipbridge-dhl/actions/workflows/tests.yml/badge.svg)](https://github.com/mohamedhekal/shipbridge-dhl/actions)[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Packagist](https://camo.githubusercontent.com/79518b31228507318dc067a10b24e80153c21387b9588b3628e5a622007b3f01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f68616d656468656b616c2f736869706272696467652d64686c2e737667)](https://packagist.org/packages/mohamedhekal/shipbridge-dhl)

**DHL Express** shipping driver for [ShipBridge](https://github.com/mohamedhekal/shipbridge) · Region: **Global** / **عالمي**

Real **MyDHL API**: `https://express.api.dhl.com/mydhlapi`

---

بالعربي — في ٣ خطوات
--------------------

[](#بالعربي--في-٣-خطوات)

### ١) ثبّت الحزمتين

[](#١-ثبّت-الحزمتين)

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-dhl
```

### ٢) حط مفاتيح DHL Express في `.env`

[](#٢-حط-مفاتيح-dhl-express-في-env)

```
SHIPBRIDGE_DRIVER=dhl
DHL_USERNAME=your-api-user
DHL_PASSWORD=your-api-password
DHL_ACCOUNT_NUMBER=123456789
DHL_BASE_URL=https://express.api.dhl.com/mydhlapi/test
DHL_PRODUCT_CODE=P
```

> للإنتاج: `https://express.api.dhl.com/mydhlapi` — التفاصيل في [`docs/GUIDE_AR.md`](docs/GUIDE_AR.md).

### ٣) ابعت شحنة

[](#٣-ابعت-شحنة)

```
use Hekal\ShipBridge\Facades\ShipBridge;
use Hekal\ShipBridge\DTOs\Address;
use Hekal\ShipBridge\DTOs\CreateShipmentRequest;
use Hekal\ShipBridge\DTOs\Parcel;

$shipment = ShipBridge::driver('dhl')->createShipment(new CreateShipmentRequest(
    origin: new Address('المخزن', 'شارع ١', 'القاهرة', 'EG', postalCode: '11511', phone: '01011111111'),
    destination: new Address('العميل', 'شارع النيل', 'الجيزة', 'EG', phone: '01000000000', postalCode: '12611'),
    parcels: [new Parcel(weightKg: 1.2, lengthCm: 10, widthCm: 10, heightCm: 10)],
    reference: 'ORD-42',
));

echo $shipment->trackingNumber;
```

تتبع / ليبل / مرتجع:

```
ShipBridge::driver('dhl')->track($shipment->trackingNumber);
ShipBridge::driver('dhl')->label($shipment->trackingNumber);
ShipBridge::driver('dhl')->createReturn(...);
```

---

English — Quick start
---------------------

[](#english--quick-start)

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-dhl
```

```
SHIPBRIDGE_DRIVER=dhl
DHL_USERNAME=your-api-user
DHL_PASSWORD=your-api-password
DHL_ACCOUNT_NUMBER=123456789
DHL_BASE_URL=https://express.api.dhl.com/mydhlapi
DHL_PRODUCT_CODE=P
DHL_PICKUP_REQUESTED=false
```

```
ShipBridge::driver('dhl')->createShipment(...); // POST /shipments
ShipBridge::driver('dhl')->track('AWB');         // GET /shipments/{id}/tracking
ShipBridge::driver('dhl')->label('AWB');         // documents[] or tracking URL
```

See [`docs/API.md`](docs/API.md) for payload fields, auth, and status mapping.

How it fits
-----------

[](#how-it-fits)

```
Your Laravel app
      │
      ▼
 ShipBridge  (one API for all carriers)
      │
      ▼
 shipbridge-dhl  ← this package (DHL Express MyDHL API)

```

Testing
-------

[](#testing)

```
composer install && composer test
```

---

License
-------

[](#license)

MIT © Mohamed Hekal

---

 [![ShipBridge · dhl](docs/assets/banner.png)](docs/assets/banner.png)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9d7c092a109fe780c7efd87ce4142eae2c0cec0f92fd1e87e769bec5661953b?d=identicon)[mohamedhekal](/maintainers/mohamedhekal)

---

Top Contributors

[![mohamedhekal](https://avatars.githubusercontent.com/u/21014387?v=4)](https://github.com/mohamedhekal "mohamedhekal (2 commits)")

---

Tags

courierlaravelphpshipbridgeshippinglaravelexpressglobalshippingdhlcarriershipbridge

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mohamedhekal-shipbridge-dhl/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3365.5M359](/packages/psalm-plugin-laravel)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k118.2M1.0k](/packages/laravel-socialite)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

80732.6M270](/packages/laravel-mcp)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58190.1k22](/packages/api-platform-laravel)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.5k](/packages/forjedio-inertia-table)

PHPackages © 2026

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