The Cache class in laravel has methods such as get(\'itemKey\') to retrieve items from the cache, and remember(\'itemKey\', [\'myData1\', \'myData2\']) to save items in the cach
In 'yourKeyGoesHere' you can insert a string used as same as a like with a * or insert directly the exactly key.
$redis = Cache::getRedis(); $a_keys = $redis->keys("*yourKeyGoesHere*"); foreach ($a_keys as $key){ //Your Action ... //For example forget key $redis->del($key); }