quentinbontemps/laravel-mondialrelay

Client Laravel pour l'API Mondial Relay
1,063 6
Install
composer require quentinbontemps/laravel-mondialrelay
Latest Version:1.0.7
License:MIT
Last Updated:Apr 15, 2019
Links: GitHub  ·  Packagist
Maintainer: QuentinBontemps

Laravel Client to use the MondialRelay API

Description

This package uses QuentinBontemps/php-mondialrelay-api.

This client allow to use the Mondial Relay Soap API with Laravel.

Requirements

  • PHP >= 5.6
  • php-soap extension

Installation

composer require quentinbontemps/laravel-mondialrelay

If you're on Laravel 5.4 or earlier, you'll need to add the following to your config/app.php :

'providers' => [
    // ... 
    \QuentinBontemps\LaravelMondialRelay\LaravelMondialRelayServiceProvider::class,
],

Configuration

You need configure your MondialRelay ids :

You have two solutions :

php artisan vendor:publish --tag=laravel_mondialrelay_config

Usage

use QuentinBontemps\LaravelMondialRelay\Facades\LaravelMondialRelay;

$client = LaravelMondialRelay::client();

$shops = $client->findDeliveryPoints([
    'Pays'            => 'FR',
    'Ville'           => 'Paris',
    'CP'              => '75000',
    'DelaiEnvoi'      => "0",
    'RayonRecherche'  => '20',
    'NombreResultats' => '10',
]);

Contribution

Contributions are always welcome.

Related Packages

akibatech/laravel-ovh-sms

The OVH Sms Api integration for Laravel 5.

803 7
nilportugues/laravel5-json-api-dingo

Laravel5 JSONAPI and Dingo together to build APIs fast

1,498 30
hkonnet/laravel-ebay

This package is wrapper for php Ebay sdk for laravel to automate all the configu...

53,244 39

Version History

Version Released Laravel License
1.0.7 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.* MIT
1.0.6 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.* MIT
1.0.5 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.* MIT
1.0.4 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* MIT
1.0.3 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* MIT