Download the PHP package workbunny/webman-rqueue without Composer

On this page you can find all versions of the php package workbunny/webman-rqueue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webman-rqueue

workbunny

workbunny/webman-rqueue

🐇 A lightweight queue based on Redis Stream for webman plugin. 🐇

A lightweight queue based on Redis Stream for webman plugin

Build Status PHP Version Require GitHub license

常见问题

  1. 什么时候使用消息队列?

    当你需要对系统进行解耦、削峰、异步的时候;如发送短信验证码、秒杀活动、资产的异步分账清算等。

  2. RabbitMQ和Redis的区别?

    Redis中的Stream的特性同样适用于消息队列,并且也包含了比较完善的ACK机制,但在一些点上与RabbitMQ存在不同:

    • Redis Stream没有完善的后台管理;RabbitMQ拥有较为完善的后台管理及Api;
    • Redis的持久化策略取舍:默认的RDB策略极端情况下存在丢失数据,AOF策略则需要牺牲一些性能;RabbitMQ持久化方案更多,可对消息持久化也可对队列持久化;
    • RabbitMQ拥有更多的插件可以提供更完善的协议支持及功能支持;
  3. 什么时候使用Redis?什么时候使用RabbitMQ?

    当你的队列使用比较单一或者比较轻量的时候,请选用 Redis Stream;当你需要一个比较完整的消息队列体系,包括需要利用交换机来绑定不同队列做一些比较复杂的消息任务的时候,请选择RabbitMQ;

    当然,如果你的队列使用也比较单一,但你需要用到一些管理后台相关系统化的功能的时候,又不想花费太多时间去开发的时候,也可以使用RabbitMQ;因为RabbitMQ提供了一整套后台管理的体系及 HTTP API 供开发者兼容到自己的管理后台中,不需要再消耗多余的时间去开发功能;

    注:这里的 轻量 指的是 无须将应用中的队列服务独立化,该队列服务是该应用独享的

简介

安装

使用

QueueBuilder

命令行

--mode默认为queue

移除包含了类文件的移除和配置的移除

开启仅对配置进行移除

关闭仅对配置进行移除

GroupBuilder

命令行

移除包含了类文件的移除和配置的移除

开启仅对配置进行移除

关闭仅对配置进行移除

AdaptiveBuilder

说明

相较于其他Builder的优势

命令行

移除包含了类文件的移除和配置的移除

开启仅对配置进行移除

关闭仅对配置进行移除

自定义Builder

如queue/group Builder都不满足需求,您可继承 AbstractBuilder 自行实现您所需要的Builder

注意

查看Builder

注:当 Builder 未启动时,handler 与 count 显示为 --

生产

发布普通消息

注:向普通队列发布延迟消息会抛出一个 WebmanRqueueException 异常

发布延迟消息

注:向延迟队列发布普通消息会抛出一个 WebmanRqueueException 异常 注:延迟队列发布消息不支持指定消息id

说明


All versions of webman-rqueue with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-redis Version *
psr/log Version ^2.0 | ^3.0
psr/container Version ^1.0 | ^2.0
webman/console Version ^1.0
illuminate/redis Version ^9.0 | ^10.0 | ^11.0
illuminate/events Version ^9.0 | ^10.0 | ^11.0
illuminate/database Version ^9.0 | ^10.0 | ^11.0
monolog/monolog Version ^2.0 | ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package workbunny/webman-rqueue contains the following files

Loading the files please wait ....