Skip to content

Commit 3a61807

Browse files
Merge pull request #233 from GoodM4ven/fix-confusing-config-tag-name
Change provider tag name for config
2 parents 2c3ba56 + 59ac55d commit 3a61807

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ php artisan migrate
8686
You can publish the config file with:
8787

8888
```bash
89-
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="settings"
89+
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="config"
9090
```
9191

9292
This is the contents of the published config file:

src/LaravelSettingsServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function boot()
2424
if ($this->app->runningInConsole()) {
2525
$this->publishes([
2626
__DIR__ . '/../config/settings.php' => config_path('settings.php'),
27-
], 'settings');
27+
], 'config');
2828

2929
if (! class_exists('CreateSettingsTable')) {
3030
$this->publishes([

0 commit comments

Comments
 (0)