asseco-voice/laravel-redis-cache-extension

Laravel Redis cache extension
7,355 1
Install
composer require asseco-voice/laravel-redis-cache-extension
Latest Version:v2.0.0
PHP:^8.1
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

oriceon/toastr-5-laravel

Easy toastr notifications for Laravel 5

503,999 79
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,315 160
oriceon/oauth-5-laravel

OAuth Service Provider for Laravel 5

1,671,889 174
artdarek/oauth-4-laravel

OAuth Service Provider for Laravel 4

523,362 677
narutimateum/toastr-5.2-laravel

toastr.js for Laravel 5.2 easy notification like growl for example

37,567 13