Download the PHP package fyre/queue without Composer

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

FyreQueue

FyreQueue is a free, open-source queue library for PHP.

Table Of Contents

Installation

Using Composer

In PHP:

Basic Usage

Default configuration options will be resolved from the "Queue" key in the Config.

Autoloading

It is recommended to bind the QueueManager to the Container as a singleton.

Any dependencies will be injected automatically when loading from the Container.

Methods

Build

Build a Queue.

Container.

Clear

Clear all instances and configs.

Get Config

Set a Queue config.

Alternatively, if the $key argument is omitted an array containing all configurations will be returned.

Has Config

Determine whether a Queue config exists.

Is Loaded

Determine whether a Queue instance is loaded.

Push

Push a job to a Queue.

Job dependencies will be resolved automatically from the Container.

Set Config

Set the Queue config.

Unload

Unload a Queue.

Use

Load a shared Queue instance.

Container.

Queues

You can load a specific queue by specifying the className option of the $options variable above.

Custom queues can be created by extending \Fyre\Queue\Queue, ensuring all below methods are implemented.

Clear

Clear all items from the queue.

Complete

Mark a job as completed.

Fail

Mark a job as failed.

Pop

Pop the last item off the queue.

Push

Push a job onto the queue.

Queues

Get all the active queues.

Reset

Reset the queue statistics.

Stats

Get the statistics for a queue.

Redis

The Redis queue can be loaded using custom configuration.

Workers

Workers are long running tasks that will consume and execute jobs from the queue.

Run

Run the worker.

Messages

Messages are used internally to pass data between the Worker.

Get After

Get the timestamp when the message can be sent.

Get Config

Get the message config.

Get Hash

Get the message hash.

Get Queue

Get the message queue.

Is Expired

Determine whether the message has expired.

Is Ready

Determine whether the message is ready.

Is Unique

Determine whether the message is unique.

Is Valid

Determine whether the message is valid.

Should Retry

Determine whether the message should be retried.

Commands

Stats

Display stats for the queue.

Worker

Start a background queue worker.


All versions of queue with dependencies

PHP Build Version
Package Version
Requires fyre/command Version ^6.0
fyre/config Version ^4.0
fyre/container Version ^1.0
fyre/event Version ^4.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 fyre/queue contains the following files

Loading the files please wait ....