Download the PHP package dhl/sdk-api-parcel-de without Composer
On this page you can find all versions of the php package dhl/sdk-api-parcel-de. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sdk-api-parcel-de
DHL Parcel DE Shipping API SDK
The DHL Parcel DE Shipping API SDK package offers an interface to the following web services:
Requirements
System Requirements
- PHP 8.1+ with SOAP and JSON extension
Package Requirements
league/openapi-psr7-validator
: Schema validator for JSON request messagesnetresearch/jsonmapper
: Mapper for deserialization of JSON response messages into PHP objectsphp-http/discovery
: Discovery service for HTTP client and message factory implementationsphp-http/httplug
: Pluggable HTTP client abstractionphp-http/logger-plugin
: HTTP client logger plugin for HTTPlugpsr/http-client
: PSR-18 HTTP client interfacespsr/http-factory
: PSR-7 HTTP message factory interfacespsr/http-message
: PSR-7 HTTP message interfacespsr/log
: PSR-3 logger interfaces
Virtual Package Requirements
psr/http-client-implementation
: Any package that provides a PSR-18 compatible HTTP clientpsr/http-factory-implementation
: Any package that provides PSR-7 compatible HTTP message factoriespsr/http-message-implementation
: Any package that provides PSR-7 HTTP messages
Development Package Requirements
fig/log-test
: PSR-3 logger implementation for testing purposesnyholm/psr7
: PSR-7 HTTP message factory & message implementationphpunit/phpunit
: Testing frameworkphp-http/mock-client
: HTTPlug mock client implementationphpstan/phpstan
: Static analysis toolrector/rector
: Automatic refactoring tool to help with PHP upgradessquizlabs/php_codesniffer
: Static analysis tool
Installation
Uninstallation
Testing
Features
The DHL Parcel DE Shipping API SDK supports the following features:
- Validate Shipment
- Create Shipment Order
- Delete Shipment Order
Authentication
The DHL Parcel DE Shipping API requires a two-level authentication (see API User Guide):
- The application submits a Consumer Key Header ("API Key") that must be created in the DHL API Developer Portal.
- The user is identified via HTTP Basic Authentication with credentials configured in the DHL Business Customer Portal.
These credentials are passed to the SDK via \Dhl\Sdk\ParcelDe\Shipping\Api\Data\AuthenticationStorageInterface
.
Create your own or use the default implementation:
Validate Shipment
Validate shipments for DHL Paket including the relevant shipping documents.
Public API
The library's components suitable for consumption comprise
- services:
- service factory
- shipment service
- data transfer object builder
- data transfer objects:
- authentication storage
- order/label settings
- validation result with status message
Usage
Create Shipment Order
Create shipments for DHL Paket including the relevant shipping documents. In addition to the primary shipment data (shipper, consignee, etc.), further settings can be defined per request via the order configuration object, including label printing size, profile, and more.
Public API
The library's components suitable for consumption comprise
- services:
- service factory
- shipment service
- data transfer object builder
- data transfer objects:
- authentication storage
- order/label settings
- shipment with shipment/tracking number and label(s)
Usage
Delete Shipment Order
Cancel earlier created shipments.
Public API
The library's components suitable for consumption comprise
- services:
- service factory
- shipment service
- data transfer objects:
- authentication storage
Usage
All versions of sdk-api-parcel-de with dependencies
ext-json Version *
league/openapi-psr7-validator Version ^0.22.0
netresearch/jsonmapper Version ^4.0.0
php-http/discovery Version ^1.17.0
php-http/httplug Version ^2.2.0
php-http/logger-plugin Version ^1.2.1
psr/http-client Version ^1.0.1
psr/http-client-implementation Version ^1.0.0
psr/http-factory Version ^1.0.0
psr/http-factory-implementation Version ^1.0.0
psr/http-message Version ^1.0.0 || ^2.0.0
psr/http-message-implementation Version ^1.0.0 || ^2.0.0
psr/log Version ^1.1.0 || ^2.0.0 || ^3.0.0