PHPackages                             janmuran/qdl-sdk - 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. janmuran/qdl-sdk

ActiveLibrary

janmuran/qdl-sdk
================

QDL php client

1.1.0(1y ago)125MITPHPPHP ^7.4 || ^8.1

Since Sep 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/janmuran/qdl-sdk)[ Packagist](https://packagist.org/packages/janmuran/qdl-sdk)[ Docs](https://github.com/janmuran/qdl-sdk)[ RSS](/packages/janmuran-qdl-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

qdl-sdk
=======

[](#qdl-sdk)

Php client for QDL API (Quality Delivery Logistics

\###Laravel setup

1. Install package

```
composer require janmuran/qdl-sdk
```

2. Add config to config/qdl.php

```
return [
    'login' => env('QDL_API_LOGIN'),
    'password' => env('QDL_API_PASSWORD'),
    'url' => env('QDL_API_URL'),
];
```

3. Add env variables to .env

```
QDL_API_LOGIN=
QDL_API_PASSWORD=
QDL_API_URL=https://qdl.sk
```

4. Add service provider app/Providers/AppServiceProvider.php

```
$this->app->when(Config::class)
      ->needs('$login')->give(config('qdl.login'));
$this->app->when(Config::class)
       ->needs('$password')->give(config('qdl.password'));
$this->app->when(Config::class)
       ->needs('$baseUri')->give(config('qdl.url'));
```

Example:

```
$login = '';
$pass = '';
$sender = 1;

require_once __DIR__ . '/../../vendor/autoload.php';

$config = new Janmuran\QdlSdk\Config\Config($login, $pass, 'https://qdl.sk');
$client = new Janmuran\QdlSdk\Client\Client($config);
$serializer =  JMS\Serializer\SerializerBuilder::create()->build();
$responseBuilder = new Janmuran\ObjectBuilder\ResponseBuilder($serializer);
$qdl = new Janmuran\QdlSdk\Qdl($client, $responseBuilder);

$shipments = new Janmuran\QdlSdk\Model\Shipments();

$date = new DateTimeImmutable();

$shipment = new Janmuran\QdlSdk\Model\Shipment(
    '123456',
    $date->format('d.m.Y'),
    0.0,
    '',
    '',
    'Test note',
    new \Janmuran\QdlSdk\Model\Sender(
        1,
        0,
        'Name Surname',
        'Hlavna 1',
        '84545',
        'Bratislava',
        'SK'
    ),
    new \Janmuran\QdlSdk\Model\Recipient(
        'Jan Muran',
        'Hlavna 1',
        '84545',
        'Bratislava',
        'SK',
        '+421949123456',
        'test@qdl.sk',
        'Name Surname'
    ),
    \Janmuran\QdlSdk\Model\Insurance::createNoInsurance(),
    new \Janmuran\QdlSdk\Model\Services(false, false, true, true, false, 'test@qdl.sk'),
    [
        new \Janmuran\QdlSdk\Model\Item(10.0, '1123')
    ]
);

$shipments->addShipment($shipment);

$response = $qdl->sendShipments($shipments);
print_r($response->getShipments());
print_r($response->getShipmentNumbersByRef());
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

5

Last Release

584d ago

PHP version history (2 changes)1.0.0PHP ^7.4|^8.1

1.0.3PHP ^7.4 || ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b8e01dfc7da78407de8efe318f6f4af7305486445ea197dc5d05d50342888b2?d=identicon)[janmuran](/maintainers/janmuran)

---

Top Contributors

[![janmuran](https://avatars.githubusercontent.com/u/83755027?v=4)](https://github.com/janmuran "janmuran (7 commits)")

---

Tags

qdlqdl api

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/janmuran-qdl-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/janmuran-qdl-sdk/health.svg)](https://phpackages.com/packages/janmuran-qdl-sdk)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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