Download the PHP package sengentobv/chronopost-sdk without Composer
On this page you can find all versions of the php package sengentobv/chronopost-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sengentobv/chronopost-sdk
More information about sengentobv/chronopost-sdk
Files in sengentobv/chronopost-sdk
Package chronopost-sdk
Short Description Unofficial Chronopost API PHP SDK
License MIT
Informations about the package chronopost-sdk
sengentobv/chronopost-sdk
Unofficial Chronopost API PHP SDK
Simple wrapper around the Chronopost SOAP APIs.
Note that this library is mostly untested at the moment, and the 'interface' should not be considered stable at this time.
If you do try this library and run into issues or have suggestions, report them at https://github.com/SengentoBV/chronopost-sdk/issues
Installation & Usage
Requirements
PHP 7.4 or later.
Check composer.json for a list of all the requirements.
Composer
The recommended way to install this library is through Composer.
Manual Installation
Download the files and include autoload.php
:
Getting Started
Please follow the installation procedure and then run the following:
API Endpoints
The following webservices have been wrapped/mapped.
- https://ws.chronopost.fr/quickcost-cxf/QuickcostServiceWS
- https://ws.chronopost.fr/recherchebt-ws-cxf/PointRelaisServiceWS
- https://ws.chronopost.fr/rdv-cxf/services/CreneauServiceWS
- https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS
- https://ws.chronopost.fr/tracking-cxf/TrackingServiceWS
Authorization
The Chronopost uses multiple different methods to authenticate (using the same set of credentials).
This library aims to aid you in this!
Whenever you create a new request object, you can (should) leave the fields meant for authentication empty as this library will do the heavy lifting for you by filling in (or overwriting) these fields automatically.
Tests
To run the tests, use:
All versions of chronopost-sdk with dependencies
ext-dom Version *
ext-mbstring Version *
ext-soap Version *
wsdltophp/packagebase Version ~5.0
guzzlehttp/guzzle Version ^7.0
ext-json Version *