Download the PHP package charcoal/queue without Composer

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

Charcoal Queue

The Queue package provides an abstract queue service to defer the processing of time consuming tasks.

Installation

Usage

Queueing System

Queue managers loop queue items. Queue items represent actions to be performed (as defined by the process() method).

Queue Manager

The queue manager is available as an abstract class: AbstractQueueManager. This class implements the QueueManagerInterface.

The processing speed (throttle) can be controlled via the rate property, in items per second.

The batch limit (number of items to process per iteration) can be controlled with the limit property.

The queue can be identified with the queue_id. It can be set with setQueueId().

The queue can be processed with processQueue(). If for any reason the items need to be loaded, it can be done with loadQueueItems().

There are 4 callbacks that can be defined:

There are only 1 abstract method:

Queue Items

Queue Items should implement the QueueItemInterface. This can be helped via the QueueItemTrait.

Queue items can be identified with a queue_id. (The same queue_id used by the queue manager).

Items can be processed with process($callback, $successCallback, $failureCallback).

The queue item properties are:

Queuable Objects

The QueueableInterface defines objects that can be queued. This interface is really simple and only provides:

Resources


All versions of queue with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
psr/log Version ^1.0
charcoal/core Version ^5.0
charcoal/factory 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 charcoal/queue contains the following files

Loading the files please wait ....