PHPackages                             eo/subway - 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. eo/subway

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

eo/subway
=========

Nuclear reactor powered background job processing for PHP

v0.3.0(12y ago)4433MITPHPPHP &gt;=5.4.0

Since May 4Pushed 12y ago3 watchersCompare

[ Source](https://github.com/eymengunay/subway)[ Packagist](https://packagist.org/packages/eo/subway)[ Docs](https://github.com/eymengunay/subway)[ RSS](/packages/eo-subway/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (10)Versions (7)Used By (0)

Subway
======

[](#subway)

[![Build Status](https://camo.githubusercontent.com/c4bf032427cc8637881e3701b190908a128b5a7a9c5ea7c8405c6c8a164d85c9/68747470733a2f2f7472617669732d63692e6f72672f65796d656e67756e61792f7375627761792e737667)](https://travis-ci.org/eymengunay/subway)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d0f9cac2df6e0ef497cfafb4d2ecc4e4333d75355cdaea79dad7c3defbff962b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65796d656e67756e61792f7375627761792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eymengunay/subway/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ed224e75951028bc023c61b05b26f36c298ded315fddd1188df0085bcb2e4d3e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65796d656e67756e61792f7375627761792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eymengunay/subway/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/4d7b80a7248fde231344f769d14b92434fc60ff12169b6c1351751ac3db9d7f6/68747470733a2f2f706f7365722e707567782e6f72672f656f2f7375627761792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/eo/subway)[![Latest Stable Version](https://camo.githubusercontent.com/fc7a12874a9cf630d3a70a243b9ed694a71ded81fa7423ec642bf7bcb63ea41b/68747470733a2f2f706f7365722e707567782e6f72672f656f2f7375627761792f762f737461626c652e706e67)](https://packagist.org/packages/eo/subway)

Nuclear reactor powered background job processing for PHP.

Features
--------

[](#features)

- Delayed jobs
- Repeating jobs
- Resque compatible db
- Configurable logging
- Supports composer and symfony based apps out-of-box

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

[](#requirements)

- A POSIX-oriented operating system (No windows support due to pcntl dependency)
- [PHP](http://php.net) &gt;= 5.4 (with [pcntl](http://php.net/manual/en/book.pcntl.php))
- [Redis](http://redis.io)

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

[](#installation)

Add Subway in your composer.json:

```
{
    "require": {
        "eo/subway": "dev-master"
    }
}

```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update eo/subway

```

Composer will install everything into your project's vendor directory.

Usage
-----

[](#usage)

### Creating job classes

[](#creating-job-classes)

To create a new job, extend your job class to `Subway\Job` and implement abstract method `perform`.

```
