PHP code example of ubrize / sales-lv
1. Go to this page and download the library: Download ubrize/sales-lv 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/ */
ubrize / sales-lv example snippets
// config/services.php
...
'saleslv' => [
'key' => env('SALESLV_KEY'),
'sender' => env('SALESLV_SENDER', 'Example Sender'),
'endpoint' => env('SALESLV_ENDPOINT', 'https://traffic.sales.lv/API:0.14/'),
],
...