diff --git a/app/Providers/vaCentralServiceProvider.php b/app/Providers/vaCentralServiceProvider.php new file mode 100755 index 00000000..ef3e5187 --- /dev/null +++ b/app/Providers/vaCentralServiceProvider.php @@ -0,0 +1,19 @@ + [ diff --git a/config/vacentral.php b/config/vacentral.php new file mode 100644 index 00000000..d07e525d --- /dev/null +++ b/config/vacentral.php @@ -0,0 +1,16 @@ + env('VACENTRAL_API_KEY', ''), + + /** + * vaCentral API URL. You likely don't need to change this + */ + 'api_url' => 'https://api.vacentral.net', +]; diff --git a/resources/stubs/installer/config.stub b/resources/stubs/installer/config.stub index 8977c7fb..250e214c 100644 --- a/resources/stubs/installer/config.stub +++ b/resources/stubs/installer/config.stub @@ -19,8 +19,6 @@ return [ # overrides phpvms.php 'phpvms' => [ - 'vacentral_api_key' => '', - /** * The ISO "Currency Code" to use, the list is in config/money.php * @@ -35,6 +33,10 @@ return [ 'default' => 'default', ], + 'vacentral' => [ + 'api_key' => '', + ], + # overrides cache.php 'cache' => [ 'default' => '$CACHE_DRIVER$',