Download the PHP package littlesqx/aint-queue without Composer

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

Aint Queue

Build Status License Php version Version

An async-queue library built on top of swoole, flexible multi-consumer, coroutine supported. 中文说明

queue_status.gif

Feature

Required

Install

Usage

Config

By default, aint-queue will require config/aint-queue.php as default config. If not exist, /vendor/littlesqx/aint-queue/src/Config/config.php will be the final config file.

All the options:

name type comment default
channel string The queue unit, every queue pusher and queue listener work for. Multiple channel supported, use --channel option. default
driver.class string Queue driver class, implements QueueInterface. Redis
driver.connection map Queue driver's config.
pid_path string The path of listener master pid file. Noted that permission required. /var/run/aint-queue
consumer.sleep_seconds int Sleep seconds after every empty pop from queue. 1
consumer.memory_limit int Mb. Worker will reload when its memory usage exceeds the limit. 96
consumer.dynamic_mode bool Determine whether worker's number flex dynamically. true
consumer.capacity int The capacity that every consumer can handle in health and in short time, it affects the worker number when dynamic-mode. 5
consumer.flex_interval int every flex_interval seconds monitor process try to flex the worker number. Only work when consumer.dynamic_mode = true. 5
consumer.min_worker_number int Min expansion. 5
consumer.max_worker_number int Max expansion. 30
consumer.max_handle_number int Current consumer's max job-handle time. 0 means no limit. 0
job_snapshot map Every interval seconds, handles will be executed. Handle must implements JobSnapshotterInterface.

Push job

You can use it in your project running via fpm/cli.

Manage Queue

We recommend that using Supervisor to monitor and control the listener.

Testing

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-2, PSR-12 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT


All versions of aint-queue with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-json Version *
ext-swoole Version >=4.4
predis/predis Version ^1.1
psr/log Version ^1.1
jeremeamia/superclosure Version ^2.4
symfony/console Version ^4.4 | ^5.0
illuminate/pipeline Version ^6.16
monolog/monolog Version ^2.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 littlesqx/aint-queue contains the following files

Loading the files please wait ....