定制 furester/silex-php-redis 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-15