Skip to content
This repository was archived by the owner on Mar 18, 2021. It is now read-only.

Commit bdddb21

Browse files
committed
update README vendor publish part
1 parent ac4bd33 commit bdddb21

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,16 @@ Package for falling back cache drivers if current is not available.
1010
Be advised that if the last driver fails, normal laravel Error is thrown
1111

1212
## Usage
13-
Comment out Illuminate Cache driver in config/app.php
14-
``` php
15-
//Illuminate\Cache\CacheServiceProvider::class,
16-
```
1713
Add fallback provider to config/app.php
1814
``` php
1915
Fingo\LaravelCacheFallback\CacheFallbackServiceProvider::class,
2016
```
2117

22-
Default fallback order is: redis, memcache, database, cookie, file, array
18+
Default fallback order is: redis, memcached, database, cookie, file, array
2319

2420
If needed to change fallback order, publish vendors
2521
``` bash
26-
php artisan vendor:publish
22+
php artisan vendor:publish --provider="Fingo\LaravelCacheFallback\CacheFallbackServiceProvider"
2723
```
2824

2925
## Change log

0 commit comments

Comments
 (0)