PHP code example of kavinsky / laravel-mrw-api
1. Go to this page and download the library: Download kavinsky/laravel-mrw-api 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/ */
kavinsky / laravel-mrw-api example snippets
return [
// ...
'mrw' => [
'wsdl' => env('MRW_WSDL'),
'tracking_wsdl' => env('MRW_TRACKING_WSDL'),
'auth' => [
'client_code' => env('MRW_CLIENT_CODE'),
'client_key' => env('MRW_CLIENT_KEY'),
'center_code' => env('MRW_CENTER_CODE'),
'franchise_code' => env('MRW_FRANCHISE_CODE'),
],
// Options to pass to the Guzzle Client
'httpOptions' => [],
]
]