PHPackages                             quellabs/canvas-shipments-myparcel - 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. quellabs/canvas-shipments-myparcel

ActiveLibrary

quellabs/canvas-shipments-myparcel
==================================

MyParcel shipping provider integration for the Canvas PHP framework

1.0.0(today)00MITPHPPHP ^8.2

Since Apr 3Pushed todayCompare

[ Source](https://github.com/quellabs/canvas-shipments-myparcel)[ Packagist](https://packagist.org/packages/quellabs/canvas-shipments-myparcel)[ RSS](/packages/quellabs-canvas-shipments-myparcel/feed)WikiDiscussions main Synced today

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

MyParcel Shipping Provider
==========================

[](#myparcel-shipping-provider)

A MyParcel shipping provider for the Canvas framework. Supports both `api.myparcel.nl` (NL) and `api.sendmyparcel.be` ( BE).

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

[](#installation)

```
composer require quellabs/canvas-shipments-myparcel
```

Configuration
-------------

[](#configuration)

Publish `config/myparcel.php` and fill in your credentials:

```
return [
    'api_key'        => '',
    'api_key_test'   => '',
    'region'         => 'nl',   // 'nl' or 'be'
    'test_mode'      => false,
    'sender_address' => [
        'company'     => 'My Webshop B.V.',
        'person'      => 'Logistics Dept',
        'street'      => 'Keizersgracht',
        'number'      => '123',
        'postal_code' => '1015CJ',
        'city'        => 'Amsterdam',
        'cc'          => 'NL',
        'email'       => 'logistics@example.com',
        'phone'       => '+31201234567',
    ],
];
```

Important behaviours
--------------------

[](#important-behaviours)

**Tracking code is not available at creation time.** `ShipmentResult::$trackingCode` is always `null` after `create()`. MyParcel assigns the carrier barcode asynchronously. Use the webhook or call `exchange()` later.

**Cancellation is not supported.** Calling `cancel()` always throws `ShipmentCancellationException`. Parcels must be deleted manually in the MyParcel panel before carrier pickup.

**Package type defaults to `parcel`.** Set `ShipmentRequest::$packageType` to control the MyParcel product type per shipment:

`$packageType`MyParcel codeDescription`'parcel'`1Standard package (default)`'mailbox'`2Mailbox package`'letter'`3Letter`'digital_stamp'`4Unstamped letter**Webhooks carry only the shipment ID.** The controller makes one API call per webhook event to fetch the current state. MyParcel does not sign webhook requests — restrict the endpoint by IP or use a secret path.

**Delivery options require a recipient address.** Pass a `ShipmentAddress` as the second argument to `getShippingOptions()`. Without it, an empty array is returned. MyParcel computes available timeframes and pickup points per postal code, so the address is mandatory for meaningful results.

Supported modules
-----------------

[](#supported-modules)

ModuleCarrierRegion`myparcel_postnl`PostNLNL`myparcel_cheapcargo`CheapCargoNL`myparcel_dhl`DHLNL`myparcel_dhlforyou`DHL For YouNL`myparcel_dpd`DPDNL`myparcel_bpost`bpostBELicense
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57e4ab872b3e37536367f2d26b192df3d3bb6a6a1cebec9a104d14a6d2ffe157?d=identicon)[noescom](/maintainers/noescom)

---

Tags

canvasshippingshipmentmyparcelcanvas-shipmentssendmyparcel

### Embed Badge

![Health badge](/badges/quellabs-canvas-shipments-myparcel/health.svg)

```
[![Health](https://phpackages.com/badges/quellabs-canvas-shipments-myparcel/health.svg)](https://phpackages.com/packages/quellabs-canvas-shipments-myparcel)
```

###  Alternatives

[magepsycho/magento2-custom-shipping

Magento 2 Custom Shipping

697.5k](/packages/magepsycho-magento2-custom-shipping)

PHPackages © 2026

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