Download the PHP package beauty-framework/cache without Composer
On this page you can find all versions of the php package beauty-framework/cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download beauty-framework/cache
More information about beauty-framework/cache
Files in beauty-framework/cache
Download beauty-framework/cache
More information about beauty-framework/cache
Files in beauty-framework/cache
Please rate this library. Is it a good library?
Informations about the package cache
Beauty Cache
A simple, PSR-16-compatible cache component for the Beauty Framework. Supports multiple cache backends (drivers), including in-memory array cache, Redis (via ext-redis), file cache, and RoadRunner key-value plugin.
Features
- ✅ PSR-16
CacheInterface
compliant - ✅ Simple driver system
- ✅ Lazy connection resolution via
CacheRegistry
- ✅ Easy to extend with custom drivers
- ✅ Clean, typed API
Supported Drivers
Driver ID | Description | TTL Support | Flush Support | Requirements |
---|---|---|---|---|
array |
In-memory array cache | ❌ | ✅ | none |
file |
File-based cache storage | ✅ | ✅ | none |
redis |
Redis-based cache via ext-redis | ✅ | ✅ | PHP extension redis |
roadrunner-kv |
RoadRunner KeyValue plugin (gRPC bridge) | ⚠️ Partial | ✅ | RoadRunner + plugin |
memory |
LRU cache in memory | ❌ | ❌ | LRU cache |
ℹ️
memcached
is not supported out of the box but can be added as a custom driver (see example below).
Installation
Configuration Example
Custom Driver Example: Memcached
License
MIT
All versions of cache with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-redis Version *
psr/cache Version ^3.0
psr/simple-cache Version ^3.0
spiral/roadrunner-kv Version ^4.3
m1n64/lru-cache Version ^1.1
ext-redis Version *
psr/cache Version ^3.0
psr/simple-cache Version ^3.0
spiral/roadrunner-kv Version ^4.3
m1n64/lru-cache Version ^1.1
The package beauty-framework/cache contains the following files
Loading the files please wait ....