nebijokit/dpd-interconnector

DPD Interconnector API Client

v0.2.3 2020-06-15 07:59 UTC

This package is auto-updated.

Last update: 2024-11-15 17:50:58 UTC


README

PHP wrapper for courier DPD Interconnector API integration.

Build Status Maintainability Total Downloads

Scrutinizer Code Quality SymfonyInsight

Official DPD documentation: ftp://ftp.dpd.ee/Integratsioon/Interconnector_dokumentatsioon.pdf.

Implemented endpoints:

  • Create Shipment
  • Get Labels
  • Close Manifest
  • Remove Shipment

Installiation

composer req nebijokit/dpd-interconnector

Todo

  • add Tracking service
  • allow to define which API endpoint to use. Pass GuzzleHttp/Client as a parameter to Client constructor
  • use Money value object to represent COD;
  • decouple Guzzle/Http from Client & test services;
  • use print type, print format & service codes as constants;
  • add validation (Symfony/Constraint) for Requests data;
  • move parcel_type to Enum;