phpcachex / cache
PHP Cache Library
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/phpcachex/cache
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2025-09-28 00:45:15 UTC
README
=======================
Requirements
- php5.6+
Installation
- composer.json
"require":
{
"phpcachex/cache": "dev-master"
}
- command
composer install
orcomposer update
Introduction
- this is a php cache library,this version only contain
Memcache
How to use Muticall
<?php
$params = [
[
'host' => '127.0.0.1',
'port' => 11211,
'persistent' => 1,
]
];
$instance = \PhpCacheX\Cache\Instance::get('Memcache',$params);
$set = $instance->set('key','value');
$rs = $instance->get('key');
?>
License
MIT License see http://mit-license.org/