amitavroy/rediscache

A Redis Cache package handling basic caching requirements through pipelines and allowing handling wildcard cache clears

v0.1.1 2019-04-25 01:13 UTC

This package is auto-updated.

Last update: 2024-10-13 13:43:19 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two.

Installation

You can install the package via composer:

composer require amitavroy/rediscache

Usage

A Facade is provided to get perform all the common tasks with the packages like:

Any data from redis cache can be requested using:

RedisCache::get("key_name");

Any data can be stored in redis using:

RedisCache::set("key_name", $data);

Forget/Delete a key

RedisCache::forget("key_name");

Forget/Delete keys through wild card pattern match

RedisCache::forget("pattern", true);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email reachme@amitavroy.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.