/memory-cache

PHP Memory Cache Library

Primary LanguagePHPMIT LicenseMIT

Introduction

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