PHPackages                             wedesignit/parcel-pro-php-api-client - 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. [API Development](/categories/api)
4. /
5. wedesignit/parcel-pro-php-api-client

ActiveLibrary[API Development](/categories/api)

wedesignit/parcel-pro-php-api-client
====================================

PHP Client for the Parcel Pro API

v2.1.0(1y ago)07.3k1MITPHPPHP ^8.1

Since Feb 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/WeDesignIt/parcel-pro-php-api-client)[ Packagist](https://packagist.org/packages/wedesignit/parcel-pro-php-api-client)[ RSS](/packages/wedesignit-parcel-pro-php-api-client/feed)WikiDiscussions develop Synced 1mo ago

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

Parcel Pro API client
=====================

[](#parcel-pro-api-client)

Installing
----------

[](#installing)

```
composer require wedesignit/parcel-pro-php-api-client

```

### Versions and PHP compatibility

[](#versions-and-php-compatibility)

VersionPHP Version2.1.x&gt;= 8.12.0.x&gt;= 8.0Creating the connector
----------------------

[](#creating-the-connector)

```
$client = new \WeDesignIt\ParcelPro\Client($userId, $apiKey);
$parcelPro = new \WeDesignIt\ParcelPro\ParcelPro($client);
```

After this, the `$parcelPro` class can return `Endpoints` which can be called.

The endpoint methods can either be called with plain arrays or the fluent `Resource` classes can be used.

Usage examples
--------------

[](#usage-examples)

### Always: Setting up

[](#always-setting-up)

This applies to every following example and should be prepended to every example.

```
$client = new \WeDesignIt\ParcelPro\Client(
    ''
    ''
);
$parcelPro = new \WeDesignIt\ParcelPro\ParcelPro($client);
```

### Check if API key is valid

[](#check-if-api-key-is-valid)

```
$parcelPro->apiKey()->isValid();
```

### Retrieving the shipment types

[](#retrieving-the-shipment-types)

```
$parcelPro->shipmentType()->list();
```

Response example (from the docs):

```
[
    [
        "Id" => 8,
        "Type" => "DFY",
        "Code" => "00",
        "Label" => "DFY",
        "Carrier_Id" => 2,
        "Carrier" => "DHL",
        "CarrierNaam" => "DHL",
        "CarrierLabel" => "",
        "CarrierKlantcode" => "1234567",
        "Buitenland" => 1,
        "Benelux" => 1,
        "EU" => null,
        "Worldwide" => null,
        "Land" => null,
        "Tolplichtig" => null,
        "InleverenOpServicePoint" => 1,
        "ServicePoint" => 1,
        "HandtekeningVoorOntvangst" => 1,
        "NietBijBuren" => 1,
        "AvondLevering" => null,
        "ZaterdagLevering" => null1,
        "1100Levering" => null,
        "VerhoogdAansprakelijk" => 1,
        "Rembours" => null,
        "MiniPallet" => null,
        "Pallet" => null,
        "Collo" => null
    ],
    [
        "Id" => 9,
        "Type" => "PostNL",
        "Code" => "3085",
        "Label" => "Standaard Pakket",
        "Carrier_Id" => 3,
        "Carrier" => "PostNL",
        "CarrierNaam" => "PostNL",
        "CarrierLabel" => "",
        "CarrierKlantcode" => "7654321",
        "Buitenland" => 0,
        "Benelux" => 0,
        "EU" => null,
        "Worldwide" => null,
        "Land" => null,
        "Tolplichtig" => null,
        "InleverenOpServicePoint" => null,
        "ServicePoint" => 1,
        "HandtekeningVoorOntvangst" => 1,
        "NietBijBuren" => 1,
        "AvondLevering" => null,
        "ZaterdagLevering" => null1,
        "1100Levering" => null,
        "VerhoogdAansprakelijk" => 1,
        "Rembours" => null,
        "MiniPallet" => null,
        "Pallet" => null,
        "Collo" => null
        ]
]
```

Which will then return a boolean value.

### Sending a shipment

[](#sending-a-shipment)

```
$shipment = [
    'Carrier'            => 'Carrier name',
    'Type'               => 'Shipment type',
    'Referentie'         => 'E.g. your order number',
    'Zaterdaglevering'   => '1',
    'NaamAfzender'       => 'Michael Scott',
    'StraatAfzender'     => 'Street',
    'NummerAfzender'     => '11',
    'ToevoegingAfzender' => 'A',
    'PostcodeAfzender'   => '1000 AB',
    'PlaatsAfzender'     => 'Scranton',
    'LandAfzender'       => 'NL',
    'Naam'               => 'Dwight Schrute',
    'Straat'             => 'Street'
    'Nummer'             => '11',
    'Toevoeging'         => 'A',
    'Postcode'           => '1000 AB',
    'Plaats'             => 'Scranton',
    'Land'               => 'NL',
    'Email'              => 'assistant-regional-manager@dundermifflin.ext',
    'AantalPakketten'    => 1,
    'Gewicht'            => 1,
    'Opmerking'          => 'Thanks to the world\'s #1 boss',
];

$parcelPro->shipment()->create($shipment);
```

If you like a more object-oriented approach you can also use the [Shipment](src/Resources/Shipment.php) Resource class (and its [subclasses](src/Resources/Shipment)).

### Retrieving a shipping label

[](#retrieving-a-shipping-label)

If needed for printing. Note you already get a label URL back from the shipment create call which you can also present to your users to directly access the label.

```
// for PDF version
$label = $parcelPro->shippingLabel()->get($shipmentId);
// for HTML version
$pdf = false;
$label = $parcelPro->shippingLabel()->get($shipmentId, $pdf);
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~227 days

Total

6

Last Release

674d ago

Major Versions

v1.0.2 → v2.0.02022-12-08

PHP version history (4 changes)v1.0.0PHP ^7.1

v1.0.1PHP ^7.1|^8.0

v2.0.0PHP ^8.0

v2.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ae5357d893c402ae052f7e1705f6071de01dfa303800e6f9ba3ef27188fbea8?d=identicon)[pvankouteren](/maintainers/pvankouteren)

---

Top Contributors

[![pvankouteren](https://avatars.githubusercontent.com/u/1055598?v=4)](https://github.com/pvankouteren "pvankouteren (26 commits)")

---

Tags

delivery-apimijnpakketdienstparcelparcelproparcel proParcel Pro API clientMijnPakketDienstMijnPakketDienst API clientWeDesignIt

### Embed Badge

![Health badge](/badges/wedesignit-parcel-pro-php-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/wedesignit-parcel-pro-php-api-client/health.svg)](https://phpackages.com/packages/wedesignit-parcel-pro-php-api-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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