File tree 2 files changed +6
-2
lines changed
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
21
21
You can publish the config file with:
22
22
23
23
``` bash
24
- php artisan vendor:publish --tag= " laravel-policy-soft-cache-config "
24
+ php artisan vendor:publish --provider= " Innoge\LaravelPolicySoftCache\LaravelPolicySoftCacheServiceProvider " "
25
25
` ` `
26
26
27
27
This 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
18
18
*/
19
19
$ package
20
20
->name ('laravel-policy-soft-cache ' )
21
- ->hasConfigFile ();
21
+ ->hasConfigFile (' policy-soft-cache ' );
22
22
}
23
23
24
24
public function boot (): void
@@ -27,6 +27,10 @@ public function boot(): void
27
27
return new LaravelPolicySoftCache ();
28
28
});
29
29
30
+ $ this ->publishes ([
31
+ __DIR__ .'/../config/policy-soft-cache.php ' => config_path ('policy-soft-cache.php ' ),
32
+ ]);
33
+
30
34
/*
31
35
* Flush Cache on every application boot
32
36
*/
You can’t perform that action at this time.
0 commit comments