Client Laravel pour l'API Mondial Relay
kwaadpepper/laravel-mondialrelay is a Laravel package for client laravel pour l'api mondial relay.
It currently has 0 GitHub stars and 51 downloads on Packagist (latest version 1.1.0).
Install it with composer require kwaadpepper/laravel-mondialrelay.
Discover more Laravel packages by kwaadpepper
or browse all Laravel packages to compare alternatives.
Last updated
This package uses QuentinBontemps/php-mondialrelay-api.
This client allow to use the Mondial Relay Soap API with Laravel.
composer require cephee/laravel-mondialrelay
If you're on Laravel 5.4 or earlier, you'll need to add the following to your config/app.php :
'providers' => [
// ...
\Cephee\LaravelMondialRelay\LaravelMondialRelayServiceProvider::class,
],
You need configure your MondialRelay ids :
You have two solutions :
.env :
publish config file :
php artisan vendor:publish --tag=laravel_mondialrelay_config
use Cephee\LaravelMondialRelay\Facades\LaravelMondialRelay;
$client = LaravelMondialRelay::client();
$shops = $client->findDeliveryPoints([
'Pays' => 'FR',
'Ville' => 'Paris',
'CP' => '75000',
'DelaiEnvoi' => "0",
'RayonRecherche' => '20',
'NombreResultats' => '10',
]);
Contributions are always welcome.