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() protected function registerConfig()
{ {
$this->publishes([ $this->publishes([
__DIR__.'/../Config/config.php' => config_path('sample.php'), __DIR__.'/../Config/config.php' => config_path('vacentral.php'),
], 'config'); ], 'config');
$this->mergeConfigFrom( $this->mergeConfigFrom(
__DIR__.'/../Config/config.php', 'sample' __DIR__.'/../Config/config.php', 'vacentral'
); );
} }

View File

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

View File

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