How to delete key in Redis Cache in Laravel?

By | May 21, 2021

In this blog, I am going to share with you a small tutorial that will help you to understand how you can delete key in Redis cache.

To delete the Redis key in laravel, first of all you have use this Illuminate\Support\Facades\Redis Laravel facade. And then use below method:

Let’s say, you have a key my_cache_123 and you wish to delete this.


And, your Redis cache key is deleted now.