tinson/memory-cache

PHP Memory Cache Library

Maintainers

Package info

github.com/hetiansu5/memory-cache

pkg:composer/tinson/memory-cache

Statistics

Installs: 100

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-03-06 09:36:48 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);