tinson / memory-cache
PHP Memory Cache Library
Installs: 100
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tinson/memory-cache
Requires
- php: >=5.6
- nesbot/carbon: ~1.20
- psr/simple-cache: ~1.0.1
Requires (Dev)
- phpunit/phpunit: 5.7.27
This package is not auto-updated.
Last update: 2025-10-03 07:28:02 UTC
README
PHP Memory Cache Library implements CacheInterface PSR-16
Quick Start
# New an cache instance
# 构建一个实例
$cache = new \MemoryCache\Cache();
$cache->set($key, $value, $ttle);
$cache->get($key);