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

ActiveLibrary

mohamedhekal/shipbridge-egyptpost
=================================

Egypt Post carrier driver for ShipBridge (Egypt)

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

Since Jul 16Pushed 1mo agoCompare

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

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

ShipBridge · Egypt Post
=======================

[](#shipbridge--egypt-post)

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

**Egypt Post** shipping driver for [ShipBridge](https://github.com/mohamedhekal/shipbridge) · Region: **Egypt** / **مصر**

> **Honest limitation:** Egypt Post does not expose a public merchant create-shipment API. Merchants use the **Wassalha** app. This driver tracks via the official [TrackTrace](https://egyptpost.gov.eg/ar-eg/TrackTrace) endpoint and optionally routes create/label through a **partner B2B gateway** when you have one.

---

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

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

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

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

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-egyptpost
```

### ٢) اختار الوضع

[](#٢-اختار-الوضع)

**تتبع فقط** (الافتراضي بدون API key):

```
SHIPBRIDGE_DRIVER=egyptpost
EGYPTPOST_MODE=track_only
```

**بوابة شريك B2B** (إنشاء + تتبع):

```
SHIPBRIDGE_DRIVER=egyptpost
EGYPTPOST_MODE=partner
EGYPTPOST_API_KEY=your-partner-key
EGYPTPOST_BASE_URL=https://your-gateway.example/v1
```

> الدليل العربي الكامل: [`docs/GUIDE_AR.md`](docs/GUIDE_AR.md)

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

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

```
use Hekal\ShipBridge\Facades\ShipBridge;

$tracking = ShipBridge::driver('egyptpost')->track('EP123456789');
$label = ShipBridge::driver('egyptpost')->label('EP123456789'); // public track URL in track_only
```

إنشاء شحنة (partner فقط):

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

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

---

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

[](#english--quick-start)

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-egyptpost
```

```
# Track only (no public create API)
EGYPTPOST_MODE=track_only

# Or partner gateway when you have a B2B contract
EGYPTPOST_MODE=partner
EGYPTPOST_API_KEY=your-key
EGYPTPOST_BASE_URL=https://your-gateway.example/v1
```

```
ShipBridge::driver('egyptpost')->track('BARCODE');
ShipBridge::driver('egyptpost')->label('BARCODE');   // track URL or partner PDF
ShipBridge::driver('egyptpost')->createShipment(...); // partner mode only
```

See [`docs/API.md`](docs/API.md) for endpoints and payload shapes.

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

[](#how-it-fits)

```
Your Laravel app
      │
      ▼
 ShipBridge  (one API for all carriers)
      │
      ├─► egyptpost.gov.eg TrackTrace  (track — always)
      └─► partner REST gateway       (create — optional)

```

Testing
-------

[](#testing)

```
composer install && composer test && composer analyse && composer format
```

---

License
-------

[](#license)

MIT © Mohamed Hekal

---

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

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

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

courierlaravelphpshipbridgeshippinglaravelpostalshippingcarrierEgyptshipbridgeegyptpostegypt-post

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  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)
