承接 nikitopush/phprsmq 相关项目开发

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

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

nikitopush/phprsmq

最新稳定版本:1.0.2

Composer 安装命令:

composer require nikitopush/phprsmq

包简介

PHP implementation of the Redis Simple Message Queue.

README 文档

README

RSMQ: Redis Simple Message Queue for PHP

PHP Redis Simple Message Queue

PHP implementation of https://github.com/smrchy/rsmq.

System Requirements

  • php7
  • php-redis extension

Installation

The recommended way to install this library is through Composer:

$ composer require michsindelar/PhpRSMQ "^1.0.0"

Basic usage

<?php

require_once __DIR__.'/vendor/autoload.php';

use PhpRSMQ\RedisSMQFacade;

$rsmq = new RedisSMQFacade('127.0.0.1', 6379);
$rsmq->sendMessage('myQueue', 'Hello world!');

Tests

To execute the test suite, you'll need Composer:

$ composer test

TODO

  • implement message receiving

Contributing

Feel free to make a PR after consultation. Please follow these rules and standards when you write your code:

  • SOLID
  • KISS (Keep it simple, Stupid!)
  • DRY (Don't Repeat Yourself)
  • design patterns
  • write documentation
  • fluent interface
  • write unit tests
  • Law of Demeter

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-10