Registry / async / amphp-process

amphp-process

JSON →
library2.1.0phppackagistunverified

A fiber-aware process manager based on Amp and Revolt.

composer require amphp/process
INSTALL
IMPORT
SIG · AMPHP-PROCESS
A
amphp-process
asyncphpv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Process
use Amp\Process\Process;

Run a shell command asynchronously and capture output.

use Amp\Process\Process; $process = new Process('echo hello'); $process->start(); $output = $process->join(); echo $output;
Debug
Known issues
breakingRequires ext-fiber or ext-uv for fiber support
fix
Install ext-fiber (PHP 8.1+) or ext-uv
affects: >=2.0.0
Upgrade
Version history
2.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
Meta
1
Amazon
1
Resources
amphp-process — pip install amphp-process · libregistry