File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ composer require innoge/laravel-policy-soft-cache
2121You can publish the config file with:
2222
2323``` bash
24- php artisan vendor:publish --tag= " laravel-policy-soft-cache-config "
24+ php artisan vendor:publish --provider= " Innoge\LaravelPolicySoftCache\LaravelPolicySoftCacheServiceProvider " "
2525` ` `
2626
2727This is the contents of the published config file:
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function configurePackage(Package $package): void
1818 */
1919 $ package
2020 ->name ('laravel-policy-soft-cache ' )
21- ->hasConfigFile ();
21+ ->hasConfigFile (' policy-soft-cache ' );
2222 }
2323
2424 public function boot (): void
@@ -27,6 +27,10 @@ public function boot(): void
2727 return new LaravelPolicySoftCache ();
2828 });
2929
30+ $ this ->publishes ([
31+ __DIR__ .'/../config/policy-soft-cache.php ' => config_path ('policy-soft-cache.php ' ),
32+ ]);
33+
3034 /*
3135 * Flush Cache on every application boot
3236 */
You can’t perform that action at this time.
0 commit comments