Move vaCentral config to its own config file and ServiceProvider
This commit is contained in:
@@ -84,6 +84,7 @@ return [
|
||||
App\Providers\AuthServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\vaCentralServiceProvider::class,
|
||||
],
|
||||
|
||||
'aliases' => [
|
||||
|
||||
16
config/vacentral.php
Normal file
16
config/vacentral.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* vaCentral Configurations
|
||||
*/
|
||||
|
||||
return [
|
||||
/**
|
||||
* Your vaCentral API key
|
||||
*/
|
||||
'api_key' => env('VACENTRAL_API_KEY', ''),
|
||||
|
||||
/**
|
||||
* vaCentral API URL. You likely don't need to change this
|
||||
*/
|
||||
'api_url' => 'https://api.vacentral.net',
|
||||
];
|
||||
Reference in New Issue
Block a user