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

ActiveLibrary

mohamedhekal/shipbridge-ptt
===========================

PTT Kargo carrier driver for ShipBridge (Turkey / Türkiye)

v0.2.0(1mo ago)001MITPHPPHP ^8.2CI passing

Since Jul 16Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

ShipBridge · PTT Kargo
======================

[](#shipbridge--ptt-kargo)

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

**PTT Kargo** driver for [ShipBridge](https://github.com/mohamedhekal/shipbridge) · Region: **Turkey** / **Türkiye**

SOAP: `PttVeriYukleme` (create/cancel) + `GonderiHareketV2` (track)

---

Türkçe — 3 adımda
-----------------

[](#türkçe--3-adımda)

### 1) Paketleri kur

[](#1-paketleri-kur)

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-ptt
```

### 2) `.env` anahtarları

[](#2-env-anahtarları)

```
SHIPBRIDGE_DRIVER=ptt
PTT_MUSTERI_ID=your-musteri-id
PTT_SIFRE=your-password
PTT_TEST_MODE=true
# Test WSDLs auto-append "Test" to service name when PTT_TEST_MODE=true
```

> Detaylar: `config/ptt.php` ve [`docs/GUIDE_TR.md`](docs/GUIDE_TR.md).

### 3) Gönderi oluştur (önceden tahsis edilmiş barkod gerekli)

[](#3-gönderi-oluştur-önceden-tahsis-edilmiş-barkod-gerekli)

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

$shipment = ShipBridge::driver('ptt')->createShipment(new CreateShipmentRequest(
    origin: new Address('Depo', 'Sanayi Cd 1', 'Ankara', 'TR', phone: '05551111111'),
    destination: new Address('Mehmet Kaya', 'Kızılay Mah. 3', 'Ankara', 'TR', state: 'Çankaya', phone: '05552223344'),
    parcels: [new Parcel(weightKg: 1.5, description: 'Evrak')],
    reference: 'ORD-PTT-1',
    metadata: [
        'barcode' => 'KP02168000001',
        'cod' => 120,
        'desi' => 2,
    ],
));
```

Takip: `track($barcode)`. Teknik: [`docs/API.md`](docs/API.md), [`docs/VENDOR_NOTES.md`](docs/VENDOR_NOTES.md).

---

English
-------

[](#english)

Laravel SOAP driver for PTT Kargo Turkey: `kabulEkle2`, `gonderiDurum`, `gonderiIptal`. Requires pre-allocated barcode in `metadata.barcode`.

```
composer require mohamedhekal/shipbridge mohamedhekal/shipbridge-ptt
```

---

License
-------

[](#license)

MIT · Mohamed Hekal

---

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

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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

Unknown

Total

1

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 (3 commits)")

---

Tags

laravelsoapshippingturkeycouriercarrierTurkiyepttptt-kargoshipbridge

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

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