diff --git a/src/Config/main.php b/config/lucent.php similarity index 100% rename from src/Config/main.php rename to config/lucent.php diff --git a/src/LucentServiceProvider.php b/src/LucentServiceProvider.php index 61bf101..89ae62c 100644 --- a/src/LucentServiceProvider.php +++ b/src/LucentServiceProvider.php @@ -37,6 +37,10 @@ class LucentServiceProvider extends ServiceProvider return new ImageManager(['driver' => 'imagick']); }); + $this->mergeConfigFrom( + __DIR__.'/../config/lucent.php', + 'lucent' + ); $this->app->bind(DatabaseGraph::class, function () { @@ -89,7 +93,7 @@ class LucentServiceProvider extends ServiceProvider Blade::anonymousComponentPath(__DIR__ . '../front/views/components', "lucent"); $this->publishes([ - __DIR__ . '/Config/main.php' => config_path('lucent.php'), + __DIR__ . '/../config/lucent.php' => config_path('lucent.php'), ],"lucent-config"); $this->publishes([