nebijokit / dpd-interconnector
DPD Interconnector API Client
Installs: 1 269
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 2
Requires
- php: >=7.2
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
README
PHP wrapper for courier DPD Interconnector API integration.
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;