Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.54 KB

readme.md

File metadata and controls

34 lines (25 loc) · 1.54 KB

DPD Interconnector API integration

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;