ovr/cacher

This package is abandoned and no longer maintained. No replacement package was suggested.

Cache your data by easy way.

0.1.4 2014-09-30 09:57 UTC

This package is not auto-updated.

Last update: 2019-01-08 21:28:46 UTC


README

Latest Stable Version Build Status License

Cache your data by easy way.

Drivers support:

  • Memcache
  • Memcached
  • Redis
  • NativeArray

How to install

Using Composer (recommended)

composer require ovr/cacher:*

How to work

You need to create instance of Driver

use Cacher\Driver\NativeArray;
$driver = new NativeArray;

Example:

$driver->save('my_test_key', 12345);

$result = $driver->get('my_test_key');
var_dump($result === 12345),

License

This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.