New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

asseco-voice/laravel-redis-cache-extension

Laravel Redis cache extension
7,626 1
Install
composer require asseco-voice/laravel-redis-cache-extension
Latest Version:v2.0.0
PHP:^8.1
Laravel:10
Older releases:8 · 9
License:MIT
Last Updated:Dec 3, 2024
Links: GitHub  ·  Packagist
Maintainer: Norgul

Laravel Redis cache extension

This package enables clearing Redis cache using wildcards.

Installation

Install the package through composer. It is automatically registered as a Laravel service provider.

composer require asseco-voice/laravel-redis-cache-extension

Usage

Since this is for Redis driver only, the command will fail if you don't have CACHE_DRIVER=redis in your .env file.

Running the command php artisan asseco:flush-redis will trigger cache flush for all items in the cache (you will be asked for the confirmation), however the command takes pattern as argument.

When using Redis wildcard characters, argument will need to be enclosed within quotation marks:

php artisan asseco:flush-redis "*_item"

Related Packages

valorin/random

Random is a simple helper package designed to make it easy to generate a range o...

413,065 233
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

22,912 0
php
cline/struct

Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...

17,788 0
php
cline/toggl

Advanced feature flag management with strategies, time bombs, and groups

12,171 0
php
cline/sequencer

Sequential migration and operation orchestration for Laravel

11,736 0
php

Version History

Version Released PHP Laravel License
v2.0.0 ^8.1 ^10.0 MIT
v1.0.0 ^8.0 ^9.0 MIT
v0.1.0 ^7.4 ^8.0 MIT