PHP code example of wexperience / laravel-mondialrelay

1. Go to this page and download the library: Download wexperience/laravel-mondialrelay library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wexperience / laravel-mondialrelay example snippets


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

use QuentinBontemps\LaravelMondialRelay\Facades\LaravelMondialRelay;

$client = LaravelMondialRelay::client();

$shops = $client->findDeliveryPoints([
    'Pays'            => 'FR',
    'Ville'           => 'Paris',
    'CP'              => '75000',
    'DelaiEnvoi'      => "0",
    'RayonRecherche'  => '20',
    'NombreResultats' => '10',
]);
config/app.php
bash
php artisan vendor:publish --tag=laravel_mondialrelay_config