Download the PHP package playcat/queue without Composer

On this page you can find all versions of the php package playcat/queue. 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 queue

Playcat Queue(2024/4/12 已不更新)

本项目不在维护,推荐使用以下替代

基于tp和swoole的队列系统 playcat-queue-tpswoole

基于webman的队列系统 playcat-queue-webman

————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

基于 webman 的消息队列服务 支持 Redis、Kafka 和 RabbitMQ。 支持延迟消息和异常重试

注意2.0与1.0并不完全兼容

支持的消息系统

扩展要求

安装

使用方法

1.选择合适消息服务端

2.创建你自己消费者任务

新建一个php的文件并且添加以下内容:

ConsumerData方法

将上面编写好的任务文件保存到'app/queue/playcat/'目录下。如果目录不存在就创建它

==可以编辑config/plugin/playcat/queue/process.php中的consumer_dir的设置来改为你定义的路径==

启动webman的服务,

如果没有错误出现则服务端启动完成

添加任务并发布到队列中

ProducerData方法

异常与重试机制

任务在执行过程中未抛出异常则默认执行成功,否则则进入重试阶段. 重试次数和时间由配置控制,重试间隔时间为当前重试次数的幂函数。 Playcat\Queue\Exceptions\DontRetry异常会忽略掉重试

QQ:318274085

License

MIT


All versions of queue with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-redis Version *
php-amqplib/php-amqplib Version ^3.5
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 playcat/queue contains the following files

Loading the files please wait ....