PHP code example of kwaadpepper / laravel-mondialrelay

1. Go to this page and download the library: Download kwaadpepper/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/ */

    

kwaadpepper / laravel-mondialrelay example snippets


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

use Cephee\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