galaxycube / dx-courier
DX API Wrapper
1.2.5
2021-12-13 17:32 UTC
Requires
- php: >=7.4|^8.0
- guzzlehttp/guzzle: ^7.0
- psr/simple-cache: ^1.0
Requires (Dev)
- kodus/mock-cache: ^1.0
- markrogoyski/simplelog-php: ^0.4.0
- phpstan/phpstan: ^0.12.90
- phpunit/phpunit: ^9
- symfony/cache: ^5.2
README
PHP SDK Wrapper Library for DX Couriers REST API.
Right now it allows you to CREATE, GET LABEL, AMEND (date only) and DELETE consignments.
Currently DX's REST API doesn't include functionality for live tracking or webhooks. This has been added by wrapping their front end tracking systems.
It's been tested with Mainland U.K addresses only just now.
Installation
Install via composer
composer require galaxycube/dx-courier
Usage
See examples folder for usage examples.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Standard MIT License