Download the PHP package tomahawk/queue without Composer
On this page you can find all versions of the php package tomahawk/queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package queue
Tomahawk Queue
A nice and simple PHP Worker Queue library
Requirements
- PHP 7.0 +
- pcntl extension.
- posix extension.
Installation
You can install Tomahawk Queue using composer:
composer require tomahawk/queue
1. Setup configuration
First you need to create a new file called tomahawk.xml
You will need to configure the following things:
- Storage directory - for logs and pid files
- Bootstrap file (optional) - Allows you to add event listeners and extend storage
- Your workers
Below is an example:
2. Create Bootstrap file
Bootstrap example file
Using the CLI
Create a new worker
Queue a new job to worker
List running workers
Stop a running worker
Load and run all workers defined in configuration file
Using the Queue Manager
If you have your works setup on a different VM or server you can still push jobs onto the queue using the Queue Manager.
Below is an example of how to do this
License
Tomahawk Queue is open-sourced software licensed under the MIT license
All versions of queue with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
ext-pcntl Version *
ext-posix Version *
pimple/pimple Version ~3.0
monolog/monolog Version ~1.22
symfony/console Version ~3.1.0
symfony/event-dispatcher Version ~3.1.0
symfony/process Version ~3.1.0
predis/predis Version ~1.0
psr/log Version ~1.0.0
ext-pcntl Version *
ext-posix Version *
pimple/pimple Version ~3.0
monolog/monolog Version ~1.22
symfony/console Version ~3.1.0
symfony/event-dispatcher Version ~3.1.0
symfony/process Version ~3.1.0
predis/predis Version ~1.0
psr/log Version ~1.0.0
The package tomahawk/queue contains the following files
Loading the files please wait ....