PHPackages                             tomahawk/queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. tomahawk/queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

tomahawk/queue
==============

Tomahawk Queue

0.2.0(9y ago)013MITPHPPHP &gt;=7.0.0

Since Mar 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tomahawkphp/queue)[ Packagist](https://packagist.org/packages/tomahawk/queue)[ RSS](/packages/tomahawk-queue/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (8)Versions (6)Used By (0)

Tomahawk Queue
==============

[](#tomahawk-queue)

A nice and simple PHP Worker Queue library

Requirements
------------

[](#requirements)

- PHP 7.0 +
- pcntl extension.
- posix extension.

Installation
------------

[](#installation)

You can install Tomahawk Queue using composer:

`composer require tomahawk/queue`

### 1. Setup configuration

[](#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

[](#2-create-bootstrap-file)

Bootstrap example file

```
