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

v1.0.0 2019-12-18 03:01 UTC

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);