2017 © Pedro Peláez
 

library cache

cache

image

nsc/cache

cache

  • Friday, June 17, 2016
  • by nsc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Cache

Cache connects and manages database based on application programming interface (API), (*1)

Highlights

  • Simple API
  • Composer ready, [PSR-2] and [PSR-4] compliant
  • Fully documented
  • Demo

System Requirements

You need:, (*2)

  • PHP >= 5.5 , but the latest stable version of PHP is recommended

to use the library., (*3)

-Xcache>=3.1.0, (*4)

Install

Install nsc\cache using Composer., (*5)

$ composer require nsc/cache

Config

$config = [
       'GROUP'  => 'ceShi',
        ];

Basic Usage

include("../vendor/autoload.php");
$cache = \Nsc\cache\Cache::getInstance($config);
$a = 'nsc';
$arr = array(1,2,3,4,5,6);
$cache->set($a,$arr);
var_dump($cache->get($a));

The Versions

17/06 2016

dev-master

9999999-dev https://github.com/nscgotomydream/Cache

cache

  Sources   Download

The Requires

  • php >=5.5
  • xcache >=3.1.0
  • phpunit >=4.8.7

 

by nscgotomydream

cache