yatsenkolesh/redisphp-native
最新稳定版本:0.2.3
Composer 安装命令:
composer require yatsenkolesh/redisphp-native
包简介
Native php library for redis
README 文档
README
This library is analogous of Redis class without OOP. Uses sockets.
To install with composer:
composer require "yatsenkolesh/redisphp-native"
Get value by key:
Redis\connect('127.0.0.1', 6379); Redis\get('mykey');
After connection to redis this connection will be used for all commands.
Delete:
Redis\del('mykey');
Set key value:
Redis\set('mykey', 'HELLO', 360);
Check exists key:
Redis\exists('mykey);
统计信息
- 总下载量: 300
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-03-08