Redis cache driver with extended capabilities
fhteam/laravel-cache-redis-extended is a Laravel package for redis cache driver with extended capabilities.
It currently has 8 GitHub stars and 39 downloads on Packagist (latest version v0.0.1).
Install it with composer require fhteam/laravel-cache-redis-extended.
Discover more Laravel packages by fhteam
or browse all Laravel packages to compare alternatives.
Last updated
This project is currently under development. Code most probably is broken. Please wait until 1.0 is released to use it in production.
Metrics | _
---|---
Version |
Compatibility |
Quality |
Cache facade methods extended to accept arrays as keys to utilize Redis MULTI operations (multi-get, -set, -forget etc.)EXISTS in has(), SET...NX in add() etc)Cache::tags(...) when reading data. Cache::get() is enough.
So you can now query cache without even knowing which tags are associated with some cache itemCache::tags() with the same tag setCore <===> Serialization <===> Encoding
| |
|----> TagVersionStorage <------|
+ Utility +
serialize() in order to get encoded object's representation. Every coder must implement
CoderInterfaceTagVersionStorageInterface.
PlainTagVersionStorage is a basic version of tag version storage that doesn't share any information about tag
versions outside current PHP process. You can implement a version, that will store actual tag versions,
for example, in APC if querying Redis becomes expensive or just needs to be avoided.RedisConnectionTrait - is a trait, that allows to reuse the same scheme of Redis connection handling across the
projectArr contains some low-level array routinesTime contains some time management routinesMyClass::class, not 'MyClass' where class name is needed)