2017-25 © Pedro Peláez
 

library laravel-mondialrelay

Client Laravel pour l'API Mondial Relay

image

quentinbontemps/laravel-mondialrelay

Client Laravel pour l'API Mondial Relay

  • Thursday, June 7, 2018
  • by QuentinBontemps
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Laravel Client to use the MondialRelay API

Description

This package uses QuentinBontemps/php-mondialrelay-api., (*1)

This client allow to use the Mondial Relay Soap API with Laravel., (*2)

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 :, (*3)

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

Configuration

You need configure your MondialRelay ids :, (*4)

You have two solutions :, (*5)

  • .env :, (*6)

    • MONDIAL_RELAY_ENVIRONMENT=demo|prod (DEFAULT : demo)
    • MONDIAL_RELAY_SITE_ID=xxx
    • MONDIAL_RELAY_SITE_KEY=xxx
    • MONDIAL_RELAY_WSDL=XXX (DEFAULT : https://api.mondialrelay.com/Web_Services.asmx?WSDL)
  • publish config file :, (*7)

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., (*8)

The Versions

07/06 2018

dev-master

9999999-dev

Client Laravel pour l'API Mondial Relay

  Sources   Download

MIT

The Requires

 

by Quentin BONTEMPS

laravel api laravel5 mondial relay

07/06 2018

1.0.4

1.0.4.0

Client Laravel pour l'API Mondial Relay

  Sources   Download

MIT

The Requires

 

by Quentin BONTEMPS

laravel api laravel5 mondial relay

07/06 2018

1.0.3

1.0.3.0

Client Laravel pour l'API Mondial Relay

  Sources   Download

MIT

The Requires

 

by Quentin BONTEMPS

laravel api laravel5 mondial relay

31/05 2018

1.0.1

1.0.1.0

Client Laravel pour l'API Mondial Relay

  Sources   Download

MIT

The Requires

 

by Quentin BONTEMPS

laravel api laravel5 mondial relay

31/05 2018

1.0.0

1.0.0.0

Client Laravel pour l'API Mondial Relay

  Sources   Download

MIT

The Requires

 

by Quentin BONTEMPS

laravel api laravel5 mondial relay