Optimize Cacher by Zephir language as PHP Ext
See (PHP Version)[https://github.com/ovr/cacher]
Drivers support:
- Memcache
- Memcached
- Redis
- NativeArray
Will be written soon.
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),
This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.