Download the PHP package quellabs/canvas-shipments-myparcel without Composer
On this page you can find all versions of the php package quellabs/canvas-shipments-myparcel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quellabs/canvas-shipments-myparcel
More information about quellabs/canvas-shipments-myparcel
Files in quellabs/canvas-shipments-myparcel
Package canvas-shipments-myparcel
Short Description MyParcel shipping provider integration for the Canvas PHP framework
License MIT
Informations about the package canvas-shipments-myparcel
MyParcel Shipping Provider
A MyParcel shipping provider for the Canvas framework. Supports both api.myparcel.nl (NL) and api.sendmyparcel.be (
BE).
Installation
Configuration
Publish config/myparcel.php and fill in your credentials:
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 code | Description |
|---|---|---|
'parcel' |
1 | Standard package (default) |
'mailbox' |
2 | Mailbox package |
'letter' |
3 | Letter |
'digital_stamp' |
4 | Unstamped 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
| Module | Carrier | Region |
|---|---|---|
myparcel_postnl |
PostNL | NL |
myparcel_cheapcargo |
CheapCargo | NL |
myparcel_dhl |
DHL | NL |
myparcel_dhlforyou |
DHL For You | NL |
myparcel_dpd |
DPD | NL |
myparcel_bpost |
bpost | BE |
License
MIT
All versions of canvas-shipments-myparcel with dependencies
symfony/http-client Version ^7.0 || ^8.0
quellabs/support Version *
quellabs/contracts Version *
quellabs/canvas-shipments-contracts Version *