1. Go to this page and download the library: Download altynbek07/laravel-uds 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/ */
altynbek07 / laravel-uds example snippets
return [
/**
* Your company ID from UDS
*/
'id' => env('UDS_ID'),
/**
* Your API Key from UDS
*/
'key' => env('UDS_KEY'),
/**
* This is the API URI path where Uds will be accessible from. Feel free
* to change this path to anything you like.
*/
'path' => env('UDS_PATH', 'api/uds'),
/**
* These middleware will be assigned to every Uds route, giving you
* the chance to add your own middleware to this list or change any of
* the existing middleware. Or, you can simply stick with this list.
*/
'middleware' => [
'api',
// 'auth:api'
],
];