# php-cache **Repository Path**: garming/php-cache ## Basic Information - **Project Name**: php-cache - **Description**: PHP Cache Library - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-09-30 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PHP Cache Library ======================= ## Requirements - php5.6+ ## Installation - composer.json ``` "require": { "phpcachex/cache": "dev-master" } ``` - command ```composer install``` or ```composer update``` ## Introduction - this is a php cache library,this version only contain ```Memcache``` ## How to use Muticall ``` '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/