fix the module name for discovery

This commit is contained in:
Nabeel Shahzad
2017-12-05 20:41:59 -06:00
parent c1efc65cc5
commit c2d9afcef4
3 changed files with 5 additions and 5 deletions

View File

@@ -38,11 +38,11 @@ class AppServiceProvider extends ServiceProvider
protected function registerConfig()
{
$this->publishes([
__DIR__.'/../Config/config.php' => config_path('sample.php'),
__DIR__.'/../Config/config.php' => config_path('vacentral.php'),
], 'config');
$this->mergeConfigFrom(
__DIR__.'/../Config/config.php', 'sample'
__DIR__.'/../Config/config.php', 'vacentral'
);
}

View File

@@ -25,7 +25,7 @@
},
"autoload": {
"psr-4": {
"Modules\\vacentral\\": ""
"Modules\\Vacentral\\": ""
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "phpvms/vacentral",
"alias": "vacentral",
"name": "vacentral",
"alias": "",
"description": "",
"keywords": [],
"active": 1,