PHPackages                             jcs224/faktory\_worker\_php5 - 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. jcs224/faktory\_worker\_php5

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

jcs224/faktory\_worker\_php5
============================

Faktory job queue library for PHP. Compatible with PHP 5.6

6583PHP

Since Aug 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jcs224/faktory_worker_php5)[ Packagist](https://packagist.org/packages/jcs224/faktory_worker_php5)[ RSS](/packages/jcs224-faktory-worker-php5/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Faktory PHP 5 Library
=====================

[](#faktory-php-5-library)

[Faktory](https://github.com/contribsys/faktory) job queue library for PHP. Compatible with PHP 5.6 (and maybe lower, but untested)

### Supported Faktory versions

[](#supported-faktory-versions)

- 0.9.7
- 1.0.1

It could work on earlier versions, but untested.

Installation / Usage
--------------------

[](#installation--usage)

Formal instructions are coming soon. In the meantime, use Composer to install the package:

```
composer require jcs224/faktory_worker_php5

```

Pushing jobs
------------

[](#pushing-jobs)

```
use FaktoryQueue\FaktoryClient;
use FaktoryQueue\FaktoryJob;

$client = new FaktoryClient('localhost', '7419', 'optionalpassword');
$job1 = new FaktoryJob('cooljob', [
    1,
    2
]);

$job2 = new FaktoryJob('cooljob2', [
    3,
    4
]);

$client->push($job1);
$client->push($job2);
```

### Scheduled jobs

[](#scheduled-jobs)

You can also schedule when jobs will run as you push them onto the queue. Here are some examples:

```
$client = new FaktoryClient('faktory', '7419');

$job1 = new FaktoryJob('CoolJob1', [
    1,
    2
]);

$job2 = new FaktoryJob('CoolJob2', [
    3,
    4
]);

$job3 = new FaktoryJob('CoolJob3', [
    5,
    6
]);

$job4 = new FaktoryJob('CoolJob4', [
    7,
    8
]);

$job5 = new FaktoryJob('CoolJob5', [
    9,
    10
]);

$job1->inSeconds(300);
$job2->inMinutes(15);
$job3->inHours(24);

$date = date(DATE_RFC3339, strtotime('+5 days'));
$job4->at($date);

$client->push($job1);
$client->push($job2);
$client->push($job3);
$client->push($job4);
$client->push($job5);
```

Starting a worker that listens for jobs
---------------------------------------

[](#starting-a-worker-that-listens-for-jobs)

```
use FaktoryQueue\FaktoryClient;
use FaktoryQueue\FaktoryWorker;

$client = new FaktoryClient('localhost', '7419', 'optionalpassword');
$worker = new FaktoryWorker($client);

$worker->register('cooljob', function($job) {
    echo "something cool: ".$job['args'][0].' '.$job['args'][1]."\n";
});

$worker->register('cooljob2', function($job) {
    echo "This is cooler: ".$job['args'][0].' '.$job['args'][1]."\n";
});

$worker->run(true);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6226188?v=4)[Joe Sweeney](/maintainers/jcs224)[@jcs224](https://github.com/jcs224)

---

Top Contributors

[![jcs224](https://avatars.githubusercontent.com/u/6226188?v=4)](https://github.com/jcs224 "jcs224 (50 commits)")[![scrofungulus](https://avatars.githubusercontent.com/u/24882745?v=4)](https://github.com/scrofungulus "scrofungulus (1 commits)")

### Embed Badge

![Health badge](/badges/jcs224-faktory-worker-php5/health.svg)

```
[![Health](https://phpackages.com/badges/jcs224-faktory-worker-php5/health.svg)](https://phpackages.com/packages/jcs224-faktory-worker-php5)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M30](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M508](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[jayazhao/think-queue-rabbitmq

为 ThinkPHP5.1 队列增加 RabbitMQ 驱动

141.5k](/packages/jayazhao-think-queue-rabbitmq)[mayconbordin/l5-stomp-queue

Stomp Queue Driver for Laravel 5

121.1k](/packages/mayconbordin-l5-stomp-queue)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
