PHPackages                             dpdconnect/php-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. dpdconnect/php-sdk

ActiveLibrary

dpdconnect/php-sdk
==================

DPD Connect PHP SDK

1.1.14(1mo ago)6164.6k↓19.2%9[3 PRs](https://github.com/dpdconnect/php-sdk/pulls)2OSL-3.0PHPPHP ^5.5 || ^7.0 || ^8.0

Since May 27Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/dpdconnect/php-sdk)[ Packagist](https://packagist.org/packages/dpdconnect/php-sdk)[ RSS](/packages/dpdconnect-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (26)Used By (2)

**Parcelshops**

```
$clientBuilder = new ClientBuilder();
$client = $clientBuilder->buildAuthenticatedByPassword('admin', 'admin');

// get list of all parcelshops
$response = $client->getParcelshop()->list(['longitude' => 52.992, 'latitude' => 6.565, 'countryIso' => 'nl', 'limit' => 2]);

// get parcelshop by id
$response = $client->getParcelshop()->get('NL10566');

```

**Shipment**

```
$clientBuilder = new ClientBuilder();
$client = $clientBuilder->buildAuthenticatedByPassword('admin', 'admin');

// create shipment with data array
$response = $client->getShipment()->create([
    'printOptions' => [
        'printerLanguage' => 'PDF',
        'paperFormat' => 'A4'
    ],
    'createLabel' => true,
    'shipments' => [[
        'orderId' => "oasdsadsd",
        'sendingDepot' => "0522",
        'sender' => [
            'companyname' => 'DPD',
            'name1' => "John Do",
            'street' => "John Do Street 9",
            'country' => "NL",
            'postalcode' => "1101BM",
            'city' => "Amsterdam",
            'phone' => "06234234324",
            'email' => "info@johndo-bv.com",
            'commercialAddress' => true,
        ],
        'receiver' => [
            'name1' => "Jane Do",
            'street' => "Jane Do Street",
            'country' => "NL",
            'postalcode' => "1101BM",
            'city' => "Amsterdam",
            'phone' => "06134233434",
            'commercialAddress' => false
        ],
        'product' => [
            'productCode' => 'CL',
        ],
        "parcels" => [[
            'customerReferences' => ['sadsadsadasdsd'],
            'volume' => '000010000',
            'weight' => 100,
        ]],
    ]]
]);

// create shipmment with objects
private function getPrintOptions(ShipmentRequest $request)
{
    return ObjectFactory::create(PrintOptions::class, [
        'printerLanguage' => 'PDF',
        'paperFormat' => 'A4',
    ]);
}

private function getSender(ShipmentRequest $request)
{
    $sender = ObjectFactory::create(Sender::class, [
        'companyname' => 'John Do - B.V.',
        'name1' => 'John Do',
        'street' => 'John Do Street',
        'housenumber' => '9',
        'postalcode' => '1101BM',
        'city' => 'Hoofddorp',
        'country' => 'NL',
        'email' => 'info@johndo-bv.com',
        'phoneNumber' => '061232323',
        'faxNumber' => '',
        'comment' => '',
        'globalLocationNumber' => 0,
        'commercialAddress' => true,
        'floor' => '',
        'building' => '',
        'department' => '',
        'doorcode' => '',
        'vatnumber' => '',
        'eorinumber' => 'string'
    ]);

    return $sender;
}

private function getReceiver(ShipmentRequest $request)
{
    $receiver = ObjectFactory::create(Receiver::class, [
        'name1' => 'Jane Do',
        'street' => 'John Do Street',
        'housenumber' => '9',
        'postalcode' => '1101BM',
        'city' => 'Amsterdam',
        'country' => 'NL',
        'email' => 'info@johndo-bv.com',
        'phoneNumber' => '061232323',
        'commercialAddress' => false,
    ]);

    return $receiver;
}

private function getParcels(ShipmentRequest $request)
{
    $parcels[] = ObjectFactory::create(Parcel::class, [
    //            'parcelLabelNumber'    => '100',
        'customerReferences' => ['sadsadsadasdsd'],
        'volume' => '000010000',
        'weight' => 100,
    ]);

    return $parcels;
}

private function getShipments(ShipmentRequest $request)
{
    $shipments[] = ObjectFactory::create(ShipmentOrder\Shipment::class, [
        'orderId' => 'jiasjdsoidj',
        'sendingDepot' => '0522',
        'sender' => $this->getSender($request),
        'receiver' => $this->getReceiver($request),
        'product' => [
            'productCode' => 'CL',
        ],
        'parcels' => $this->getParcels($request)
    ]);

    return $shipments;
}

$printOptions = $this->getPrintOptions($request);
$shipments = $this->getShipments($request);

$shipmentOrder = ObjectFactory::create(ShipmentOrder::class, [
    'printOptions' => $printOptions,
    'createLabel' => true,
    'shipments' => $shipments
]);

```

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 94.9% 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 ~113 days

Recently: every ~311 days

Total

23

Last Release

55d ago

Major Versions

0.1.3 → 1.02019-08-14

PHP version history (2 changes)0.1PHP ^5.5 || ^7.0

1.1.5PHP ^5.5 || ^7.0 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![dpdplugin](https://avatars.githubusercontent.com/u/32730624?v=4)](https://github.com/dpdplugin "dpdplugin (37 commits)")[![doenietzomoeilijk](https://avatars.githubusercontent.com/u/648663?v=4)](https://github.com/doenietzomoeilijk "doenietzomoeilijk (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dpdconnect-php-sdk/health.svg)

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

PHPackages © 2026

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