cache.lot/client
Composer 安装命令:
composer require cache.lot/client
包简介
Clietn for Cache.lot
README 文档
README
Install
composer require cache.lot/client
Example
require "./vendor/autoload.php"; use Cachelot\Action as Cachelot; //Connect ro server $Cachelot = new Cachelot("127.0.0.1", 3000); $Cachelot->set("car","hyundai"); //setting variable echo $Cachelot->get("car") . "\n"; //getting the variable echo $Cachelot->show() . "\n"; //getting list the keys $Cachelot->set("bike",['ktm', 'yamaha', 'suzuki']); //setting variable in type array print_r($Cachelot->get("bike")); //get value array $Cachelot->del("bike"); //delete value $Cachelot->die("bike",5); //setting the lifetime of the variable $Cachelot->close();
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-29