Download the PHP package byjg/cache-engine without Composer
On this page you can find all versions of the php package byjg/cache-engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download byjg/cache-engine
More information about byjg/cache-engine
Files in byjg/cache-engine
Download byjg/cache-engine
More information about byjg/cache-engine
Files in byjg/cache-engine
Vendor byjg
Package cache-engine
Short Description A powerful, versatile cache implementation providing both PSR-6 and PSR-16 interfaces with support for multiple storage drivers.
License MIT
Package cache-engine
Short Description A powerful, versatile cache implementation providing both PSR-6 and PSR-16 interfaces with support for multiple storage drivers.
License MIT
Please rate this library. Is it a good library?
Informations about the package cache-engine
sidebar_key: cache-engine tags: [php, databases, cache]
Cache Engine
A powerful, versatile cache implementation providing both PSR-6 and PSR-16 interfaces with support for multiple storage drivers.
Key Features
- PSR-16 Simple Cache interface - Simple, straightforward caching API
- PSR-6 Cache Pool interface - More verbose caching with fine-grained control
- Multiple storage backends - Choose from memory, file system, Redis, Memcached and more
- Atomic operations - Support for increment, decrement and add operations in compatible engines
- Garbage collection - Automatic cleanup of expired items
- PSR-11 container support - Retrieve cache keys via dependency container
- Logging capabilities - PSR-3 compatible logging of cache operations
Quick Start
Documentation
Getting Started
- PSR-16 Simple Cache Usage
- PSR-6 Cache Pool Usage
Available Cache Engines
| Engine | Description |
|---|---|
| NoCacheEngine | No-op engine for disabling cache without code changes |
| ArrayCacheEngine | In-memory array cache (non-persistent between requests) |
| FileSystemCacheEngine | File system based caching |
| MemcachedEngine | Memcached distributed caching |
| RedisCacheEngine | Redis-based caching |
| SessionCacheEngine | PHP session-based caching |
| TmpfsCacheEngine | Tmpfs-based caching |
| ShmopCacheEngine | Shared memory caching (deprecated) |
| KeyValueCacheEngine | S3-Like or CloudflareKV storage (separate package) |
Advanced Features
- Atomic Operations
- Garbage Collection
- Logging
- PSR-11 Container Usage
Running Unit Tests
Note: The --stderr parameter is required for SessionCacheEngine tests to run properly.
Dependencies
All versions of cache-engine with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3 <8.6
psr/cache Version ^1.0|^2.0|^3.0
psr/log Version ^1.0|^2.0|^3.0
psr/simple-cache Version ^1.0|^2.0
psr/container Version ^1.0|^1.1|^2.0
psr/cache Version ^1.0|^2.0|^3.0
psr/log Version ^1.0|^2.0|^3.0
psr/simple-cache Version ^1.0|^2.0
psr/container Version ^1.0|^1.1|^2.0
The package byjg/cache-engine contains the following files
Loading the files please wait ...