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 today

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 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity32

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://www.gravatar.com/avatar/291807847129d315ee6aa6c73e19aea502426686a125f5300c67e772203c4460?d=identicon)[jcs224](/maintainers/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.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M170](/packages/react-async)

PHPackages © 2026

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