Skip to content

Commit 33c3c9e

Browse files
authored
fix wrong env variables on laravel quickstarter (#372)
1 parent 74f6f2e commit 33c3c9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redis/quickstarts/laravel.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ $value = Redis::get('key');
5353
This can be particularly useful for simple caching or temporary data storage.
5454

5555
### Cache
56-
To use Upstash Redis as your caching driver, update the CACHE_DRIVER in your .env file:
56+
To use Upstash Redis as your caching driver, update the CACHE_STORE in your .env file:
5757

5858
```shell .env
59-
CACHE_DRIVER="redis"
59+
CACHE_STORE="redis"
6060
REDIS_CACHE_DB="0"
6161
```
6262

@@ -82,7 +82,7 @@ This ensures that session data is stored in your Upstash Redis database, providi
8282
Upstash Redis can also serve as a driver for Laravel’s queue system, enabling job processing. To configure this, update the QUEUE_CONNECTION in your .env file:
8383

8484
```shell .env
85-
QUEUE_DRIVER="redis"
85+
QUEUE_CONNECTION="redis"
8686
```
8787

8888
For detailed queue configurations and usage, refer to the [Laravel Queues Documentation](https://laravel.com/docs/queues).

0 commit comments

Comments
 (0)