Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekyna/dpd
PHP component for DPD shipment
https://github.com/ekyna/dpd
Last synced: 9 days ago
JSON representation
PHP component for DPD shipment
- Host: GitHub
- URL: https://github.com/ekyna/dpd
- Owner: ekyna
- License: mit
- Created: 2018-03-15T13:09:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T13:34:37.000Z (about 1 year ago)
- Last Synced: 2024-10-08T00:50:52.347Z (about 1 month ago)
- Language: PHP
- Size: 229 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ekyna/Dpd
PHP component for DPD shipment.
[![Build](https://github.com/ekyna/Dpd/actions/workflows/build.yml/badge.svg)](https://github.com/ekyna/Dpd/actions/workflows/build.yml)
## Installation
composer require ekyna/dpd
## Usage### EPrint
_You will need credentials and IP address authorization. Please refer to your DPD contact to get access granted._
Copy ./examples/config.php.dist into ./examples/config.php and fill credentials.
* [CreateShipmentWithLabelsBc](https://github.com/ekyna/Dpd/blob/master/examples/create-shipment-with-labels-bc_classic.php)
* [CreateMultiShipmentBc](https://github.com/ekyna/Dpd/blob/master/examples/create-multi-shipment-bc.php)
* [GetShipmentBc](https://github.com/ekyna/Dpd/blob/master/examples/get-shipment-bc.php)
* [GetLabelBc](https://github.com/ekyna/Dpd/blob/master/examples/get-label-bc.php)## Testing with Docker
docker build . -t dpd-test
docker run -it --rm dpd-test php examples/create-multi-shipment-bc.php