furester/silex-php-redis
Composer 安装命令:
composer require furester/silex-php-redis
包简介
phpredis extension provider for Silex
关键字:
README 文档
README
Installation
Create (or add to your) composer.json in your projects root-directory:
{
"require": {
"furester/silex-php-redis": "*"
}
}
and run:
curl -s http://getcomposer.org/installer | php
php composer.phar install
This is just a silex provider module for phpredis extension, you will need to setup Redis (https://github.com/antirez/redis) and phpredis extension (https://github.com/nicolasff/phpredis).
Note that Redis and RedisCluster don't implement a common interface and they use different methods for some operations, you have to consider this in your code.
Example
Check out simple example under "example" directory.
To run the examples:
composer update
php -S 127.0.0.1:8081 example/example.php
License
'silex-php-redis' is licensed under the MIT license.
统计信息
- 总下载量: 37.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-15