PHPackages                             alcamo/process - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alcamo/process

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alcamo/process
==============

Classes for processes opened by proc\_open()

0.5.2(2mo ago)1144↓50%11Apache-2.0PHPPHP 7.3 - 8.0

Since Jun 30Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rv1971/alcamo-process)[ Packagist](https://packagist.org/packages/alcamo/process)[ RSS](/packages/alcamo-process/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (11)Used By (1)

Usage example
=============

[](#usage-example)

```
use alcamo\process\Process;

$process = new Process('echo Hello, world!');

$hello = $process->fgets();

```

Now $hello contains the string "Hello, world!" (plus the platform-dependent line break).

The usual PHP functions writing to or reading from streams can be used as magic methods on `Process` objects to write to / read from the child process's standard input/output.

A `ProcessFactory` class is provided to facilitate creating processes which all use the same underlying program. For instance:

```
use alcamo\process\ProcessFactory;

$gitFactory = new ProcessFactory('/home/alice', '/usr/bin/git');

$configProcess = $gitFactory->create('config -l');

$configData = $config->stream_get_contents();

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~188 days

Recently: every ~288 days

Total

10

Last Release

89d ago

PHP version history (2 changes)0.1PHP 7.3 - 7.4

0.1.1PHP 7.3 - 8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/db9722b60c5a69929f1d1c7df3d0d8682d74ed19146a2cdd2dfffa7ddc4abc78?d=identicon)[rv1971](/maintainers/rv1971)

---

Top Contributors

[![rv1971](https://avatars.githubusercontent.com/u/39520256?v=4)](https://github.com/rv1971 "rv1971 (17 commits)")

---

Tags

processproc\_open

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[cocur/background-process

Start processes in the background that continue running when the PHP process exists.

2971.9M12](/packages/cocur-background-process)[phpmentors/workflower

A BPMN 2.0 workflow engine for PHP

70652.9k4](/packages/phpmentors-workflower)[duncan3dc/fork-helper

Simple class to fork processes in PHP and allow multi-threading

73548.0k4](/packages/duncan3dc-fork-helper)[arara/process

Provides a better API to work with processes on Unix-like systems

16861.7k2](/packages/arara-process)[metabor/statemachine

Statemachine in PHP 5.3

103150.7k2](/packages/metabor-statemachine)

PHPackages © 2026

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