PHPackages                             tcgunel/omniship-kolaygelsin - 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. tcgunel/omniship-kolaygelsin

ActiveLibrary

tcgunel/omniship-kolaygelsin
============================

KolayGelsin (Sendeo) carrier for Omniship shipping library

v0.0.2(1w ago)03↓100%MITPHPPHP ^8.2

Since Mar 12Pushed 1w agoCompare

[ Source](https://github.com/tcgunel/omniship-kolaygelsin)[ Packagist](https://packagist.org/packages/tcgunel/omniship-kolaygelsin)[ RSS](/packages/tcgunel-omniship-kolaygelsin/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (3)Used By (0)

Omniship KolayGelsin (Sendeo)
=============================

[](#omniship-kolaygelsin-sendeo)

KolayGelsin (Sendeo) carrier driver for [Omniship](https://github.com/tcgunel/omniship-common).

Uses KolayGelsin's REST/JSON API.

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

[](#installation)

```
composer require tcgunel/omniship-kolaygelsin
```

Quick Start
-----------

[](#quick-start)

```
use Omniship\Omniship;
use Omniship\Common\Address;
use Omniship\Common\Package;

$carrier = Omniship::create('KolayGelsin');
$carrier->initialize([
    'apiToken' => 'your-api-token',
    'customerId' => 12345,
    'addressId' => 67890,
    'testMode' => true,
]);
```

Operations
----------

[](#operations)

### Create Shipment

[](#create-shipment)

```
$response = $carrier->createShipment([
    'shipTo' => new Address(
        name: 'Mehmet Demir',
        street1: 'Kızılay Mah. 123. Sok. No:5',
        city: 'Ankara',           // Auto-resolved to plate code (6)
        district: 'Çankaya',
        postalCode: '06420',
        phone: '05559876543',
        email: 'mehmet@example.com',
    ),
    'packages' => [
        new Package(
            weight: 2.5,
            length: 30,
            width: 20,
            height: 15,
            description: 'Elektronik ürün',
        ),
    ],
    'customerSpecificCode' => 'ORDER-001',
    'packageType' => 2,   // 1=Document, 2=Package
])->send();

if ($response->isSuccessful()) {
    echo $response->getTrackingNumber();
    echo $response->getShipmentId();
}
```

### Track Shipment

[](#track-shipment)

```
$response = $carrier->getTrackingStatus([
    'trackingNumber' => 'your-tracking-number',
])->send();

if ($response->isSuccessful()) {
    $info = $response->getTrackingInfo();
    echo $info->status->name;
    echo $info->trackingNumber;

    foreach ($info->events as $event) {
        echo $event->description;
        echo $event->occurredAt->format('Y-m-d H:i');
    }
}
```

### Cancel Shipment

[](#cancel-shipment)

```
$response = $carrier->cancelShipment([
    'trackingNumber' => 'your-tracking-number',
])->send();

if ($response->isSuccessful() && $response->isCancelled()) {
    echo 'Shipment cancelled';
}
```

API Details
-----------

[](#api-details)

### Endpoints

[](#endpoints)

EnvironmentURLTest`https://apiintg.klyglsn.com/api/request`Production`https://api.kolaygelsin.com/api/request`### Authentication

[](#authentication)

Uses Bearer token authentication via `apiToken` parameter.

### Key Features

[](#key-features)

- **REST/JSON API**: Modern JSON-based API
- **City plate code resolution**: Automatically maps Turkish city names to plate codes (1-81)
- **Per-piece dimensions**: Each shipment item has individual width/length/height/weight
- **Recipient types**: Individual (`1`) or corporate (`2`) recipients
- **Address types**: Residential (`1`) or commercial (`2`)
- **Name splitting**: Full names automatically split into first/last name

### API Methods

[](#api-methods)

EndpointDescription`SaveIntegrationShipmentV2`Create shipment`GetIntegrationShipment`Track shipment`CancelIntegrationShipment`Cancel shipmentTesting
-------

[](#testing)

```
vendor/bin/pest
```

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 86% of packages

Maintenance98

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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

Total

2

Last Release

10d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36dffe883e88aeef07c26067af3d6a7eda1c2a81f1ae45fdd430b721665131da?d=identicon)[Mobius Studio](/maintainers/Mobius%20Studio)

---

Top Contributors

[![tcgunel](https://avatars.githubusercontent.com/u/3923425?v=4)](https://github.com/tcgunel "tcgunel (5 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tcgunel-omniship-kolaygelsin/health.svg)

```
[![Health](https://phpackages.com/badges/tcgunel-omniship-kolaygelsin/health.svg)](https://phpackages.com/packages/tcgunel-omniship-kolaygelsin)
```

PHPackages © 2026

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