Skip to content

lucidphp/cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caching library.

Author Source Code Software License

Build Status Code Coverage HHVM

Requirements

php >= 5.6

Installation

$ composer require lucid/cache

Using the storage

<?php

use Lucid\Cache\Storage;
use Lucid\Cache\Client\Filesystem;

$cache = new Storate(new Filesystem('app/caches'));

$cache->set('id', 'value');
$cache->get('id'); // 'value'

Included clients

  • APCu
  • Filesystem
  • InMemory
  • Redis
  • Memcached
  • Memcache (php < 7.0)
  • XCache

About

[READ ONLY] Subtree split of `Lucid\Cache`

Resources

License

Stars

Watchers

Forks

Packages

No packages published