PHPackages                             proclame/mikropakket-php - 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. proclame/mikropakket-php

ActiveLibrary

proclame/mikropakket-php
========================

description

v0.1.3(4y ago)19MITPHPPHP ^7.4|^8.0

Since Jun 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/proclame/mikropakket-php)[ Packagist](https://packagist.org/packages/proclame/mikropakket-php)[ RSS](/packages/proclame-mikropakket-php/feed)WikiDiscussions main Synced 4w ago

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

Mikropakket PHP Api
===================

[](#mikropakket-php-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5d92221d6f494ac0d9b3eb5058cf70ec04f155fcdb36eca5be2815fbd90962a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f636c616d652f6d696b726f70616b6b65742d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/proclame/micropakket-php)[![Total Downloads](https://camo.githubusercontent.com/cbaf3bd8338bfe926302e7bad8b5d95df1404c45952cd12ab27e082d5cae53f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f636c616d652f6d696b726f70616b6b65742d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/proclame/mikropakket-php)

This package is a PHP implementation for the [Mikropakket](https://www.mikropakket.be/) API, with it, you can create and track parcels.

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

[](#installation)

You can install the package via composer:

```
composer require proclame/mikropakket-php
```

Notes
-----

[](#notes)

- Each service requires it's own API Key
- ParcelLabelWebservice has a separate Testing endpoint
- ParcelStatusService has a separate endpoint for Belgium &amp; Netherlands
- The use of the Preadvice Webservice is unclear / unnecessary and therefore unimplemented

Usage
-----

[](#usage)

```
// Create a parcel
$request = new Mikropakket\ParcelRequest();
$request->setApiKey((string) API_KEY, (bool) $isProduction);
$request->setAttributes($attributes = ["attribute_key" => "attribute_value"]);
$labelResponse = $request->request();

$labelResponse->shipmentParcel->stream("optional-filename.pdf"); // ->download() can be used as well
```

### Endpoint Hosts

[](#endpoint-hosts)

ServiceTestNetherlandsBelgiumParcelLabelParcelStatus### Endpoints

[](#endpoints)

*info for contributors*

ServiceEndpointUsageParcelLabelPOST /mikropakketparcellabel/api/v1-1/parcel-label/{pagesize}pagesize =&gt; 1: A6, 2: A5, 3: A4 (1 label per page)
 Create a new Parcel LabelParcelStatusGET /ParcelStatusService/api/v1-0/Get/Status
POST /ParcelStatusService/api/v1-0/Post/StatusGet status (tracking) of a parcel, use either Reference or ParcelNumber + Postal CodeParcelStatusGET /ParcelStatusService/api/v1-0/Get/Signature
POST /ParcelStatusService/api/v1-0/Post/SignatureGet signature of a delivered parcel, use ParcelNumber + Postal Code### ParcelLabel Attributes

[](#parcellabel-attributes)

KeyRequiredExampleDefaultDescriptionSendersCountryCode\*"BE"Countrycode from sender in isocode-1366 formatMPCustomerNumber\*123456456Mikropakket Customer numberSendersName\*"Jane Doe"Name of the parcel senderSendersStreet\*"Main Street"Senders street (no housenumber)SendersHouseNumber\*"123"Senders HousenumberSendersZipcode\*"2000"Senders Zip CodeSendersCity\*"Antwerp"Senders CityReceiversName\*"Joe Dane"Receivers NameReceiversStreet\*"Second Street"Receivers Street (no housenumber)ReceiversHouseNumber\*"456"Receivers HousenumberReceiversZipcode\*"1000"Receivers Zip CodeReceiversCity\*"Brussels"Receivers CityReceiversCountryCode\*"BE"Countrycode addressee in isocode-1366 formatParcelNumber1234567890Unique parcel nr, length 10 digits (unsure of purpose)SendersPhoneNumber"0471234567"Senders Phone Number (unsure if used)ReceiversPhoneNumber"0471234567"Receivers Phone Number (unsure if used)ReceiversAcceptant"John Smith"Receivers personal name (eg: if ReceiversName = business name)DeliveryNote"Leave at front door"Delivery directionsCashDeliveryInCentsNot sure this is supported in BECashDeliveryReferenceNot sure this is supported in BEDeliveryTimeWindowTimewindow for delivery on time in iso8601 formatPickUpDateDate of pick up at senders locationCreateRetourLabel10Create return label as wellPickupTypeUnsureReference"order-number"Reference for the orderReceiversEmail""Receivers Email address (for notification)SendersEmail""Senders Email addressReceiversNoteUnsureSendersNoteUnsure*AlsoSaturday*Not used anymoreTesting
-------

[](#testing)

- @todo: Add tests

Contributing
------------

[](#contributing)

Feel free to contribute by Forking the repo and submitting a pull request.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please submit security vulnerabilities by email to

Author
------

[](#author)

- [Nick Mispoulier](https://github.com/proclame)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1714d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6558f1cda67ae978dd32f4d737418e362482ea1487150a5335514bece4a2b99a?d=identicon)[proclame](/maintainers/proclame)

---

Top Contributors

[![proclame](https://avatars.githubusercontent.com/u/2464413?v=4)](https://github.com/proclame "proclame (11 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/proclame-mikropakket-php/health.svg)

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

###  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)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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