Download the PHP package icy8/queue without Composer

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

queue

介绍

任务队列,用于发布、消费程序任务。

这是基于think-queue照葫芦画瓢的作品,很多基本的原理都来自think-queue。

因为运行过程跟定时任务比较类似,所以我更喜欢称其为任务队列。

软件架构

  1. php>=7.0

  2. symfony/process

安装教程

``

使用说明

  1. 监听/消费任务

    因为think-queue的消费进程是基于think命令的,我们并不希望把thinkphp的其他依赖牵扯进来。

    所以定制了一个可以自定义消费进程的方法makeProcess,他可以让你调用任何php进程来消费任务,方法参数只接受string和Process对象。

  2. 发布任务

  3. 其他说明

    • 核心的两部分是消费和发布,而消费的核心是\icy8\Queue\Executor,所以你完全可以不使用icy8\Queue\Listener。

    • 为什么使用symfony/process:主要是涉及到热更新的问题,没想到、没找到其他更好的办法。

    • redis的配置写得比较乱,需要优化。

All versions of queue with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
symfony/process Version ^5.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 icy8/queue contains the following files

Loading the files please wait ...