diff --git a/README.md b/README.md index 004c742..05d1724 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,13 @@ You can install the package via composer: composer require altynbek07/laravel-uds ``` +You should set these environment variables in your `.env` file: + +```env +UDS_ID=YourCompanyId +UDS_KEY=YourApiKey +``` + You can publish the config file with: ```bash @@ -24,6 +31,14 @@ This is the contents of the published config file: ```php return [ + /** + * Your company ID from UDS + */ + 'id' => env('UDS_ID'), + /** + * Your API Key from UDS + */ + 'key' => env('UDS_KEY'), ]; ``` diff --git a/config/uds.php b/config/uds.php index ca5d8ed..0fc749c 100644 --- a/config/uds.php +++ b/config/uds.php @@ -1,5 +1,12 @@ env('UDS_ID'), + /** + * Your API Key from UDS + */ + 'key' => env('UDS_KEY'), ];