PHPackages                             epfremme/process-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. epfremme/process-queue

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

epfremme/process-queue
======================

Simple process queue using symfony process component and guzzle promises

v1.0.1(10y ago)0502MITPHPPHP &gt;=5.5

Since Dec 28Pushed 10y ago3 watchersCompare

[ Source](https://github.com/epfremmer/process-queue)[ Packagist](https://packagist.org/packages/epfremme/process-queue)[ RSS](/packages/epfremme-process-queue/feed)WikiDiscussions master Synced today

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

process-queue
=============

[](#process-queue)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cf729a3e7f0e86977e2ac863015d9c1ed32a0017a922a6c41d0c0b8fd2d3eb86/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65706672656d6d65722f70726f636573732d71756575652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/epfremmer/process-queue/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/c87a0c3047cd1ad508976061d2ea0382e06958a80c19e0626d88f13b088a7979/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65706672656d6d65722f70726f636573732d71756575652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/epfremmer/process-queue/?branch=master)[![Build Status](https://camo.githubusercontent.com/9f948996e5003c476425b5550e8b2c143492b7f17c7f408565e58d6cbcb346f4/68747470733a2f2f7472617669732d63692e6f72672f65706672656d6d65722f70726f636573732d71756575652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/epfremmer/process-queue)

Simple throttled process queue using symfony process component and guzzle promises

Overview
--------

[](#overview)

This was developed specifically for running multiple many long running processes asynchronously inside of a throttled queue. Used to prevent flooding the system with too many simultaneous processes at the same time.

Usage
=====

[](#usage)

You can optionally pass a process limit when creating the ProcessManager or it will default to the number of system CPUs available if no limit is provided.

```
$processFactory = new ProcessFactory('pwd');
$processManager = new ProcessManager($processFactory);

$promise1 = $processManager->enqueue();
$promise2 = $processManager->enqueue(new \SplFileInfo('/path/to/working/directory'));

$promise1->then(function(Process $process) {
    // do stuff with the completed process
});

$promise2->otherwise(function(Process $process) {
    // do stuff with the failed process
});

// start the queue
$processManager->run();

```

Installation
============

[](#installation)

Composer `composer require epfremme/process-queue`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

3834d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/676986caba2c215a2d21d09ec73a55fccbe180f9d9c511fc0d1753f2bfd05461?d=identicon)[epfremmer](/maintainers/epfremmer)

---

Top Contributors

[![epfremmer](https://avatars.githubusercontent.com/u/1810965?v=4)](https://github.com/epfremmer "epfremmer (3 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/epfremme-process-queue/health.svg)

```
[![Health](https://phpackages.com/badges/epfremme-process-queue/health.svg)](https://phpackages.com/packages/epfremme-process-queue)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M398](/packages/drupal-core-recommended)[illuminate/queue

The Illuminate Queue package.

20432.2M1.5k](/packages/illuminate-queue)

PHPackages © 2026

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