承接 sweikenb/redis-mq-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sweikenb/redis-mq-bundle

Composer 安装命令:

composer require sweikenb/redis-mq-bundle

包简介

Simple REDIS based message queue

README 文档

README

Simple REDIS based message queue.

SensioLabsInsight

Installation

Add the following dependency to your composer.json file:

  "require": {
    // ...
    "sweikenb/redis-mq-bundle": "~1.0"
  }

Active the bundle in your app/AppKernel.php file:

  $bundles = array(
    // ...
    new Sweikenb\Bundle\RedisMQBundle\SweikenbRedisMQBundle(),
  );

Configuration

As described in the example section, this bundle comes with an default service which uses the default_client connection of the snc redis bundle. If you wish to modify this, you simply can add you own service with an custom client:

  <services>
    <service id="acme.custom.mq.client" class="%sweikenb_redis_mq.RedisMQService.class%">
      <argument type="service" id="my.custom.snc.redisClient.here"/>
    </service>
  </services>

Example usage

You will finde two example commands in this bundle:

  • sweikenb:redismq:example:write
  • sweikenb:redismq:example:read

They will use the default redis client provided by the redis bundle (snc_redis.default_client) and read/wirte some messages into the queue as long as you don't kill the commands (ctrl + c).

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固