This library aims to facilitate the usage of Mondial Relay Web Services
- PHP 7.4
- Soap Extension
You can install the package via composer:
composer require dansmaculotte/mondialrelay-php
use DansMaCulotte\MondialRelay\DeliveryChoice;
$delivery = new DeliveryChoice(
[
'site_id' => MONDIAL_RELAY_SITE_ID,
'site_key' => MONDIAL_RELAY_SITE_KEY,
]
);
$result = $delivery->findPickupPoints('FR', '75001', 'FR');
print_r($result);
use DansMaCulotte\MondialRelay\DeliveryChoice;
$delivery = new DeliveryChoice(
[
'site_id' => MONDIAL_RELAY_SITE_ID,
'site_key' => MONDIAL_RELAY_SITE_KEY,
]
);
$result = $delivery->findPickupPointByCode('FR', '062049');
print_r($result);
The MIT License (MIT). Please see License File for more information.