PHPackages                             jnjxp/xcmd - 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. jnjxp/xcmd

ActiveLibrary

jnjxp/xcmd
==========

Simple external command runner

0.1.0(9y ago)024MITPHP

Since Oct 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jnjxp/jnjxp.xcmd)[ Packagist](https://packagist.org/packages/jnjxp/xcmd)[ RSS](/packages/jnjxp-xcmd/feed)WikiDiscussions develop Synced 2mo ago

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

jnjxp.xcmd
==========

[](#jnjxpxcmd)

Simple external command runner. Basically just a `proc_open` wrapper;

[![Latest version](https://camo.githubusercontent.com/614b02bb34ec0de226d56ffa9da98b5487504219c0b0b01942b6e35b5e4cc821/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6e6a78702f78636d642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jnjxp/xcmd)[![Build Status](https://camo.githubusercontent.com/852dd456a2c33987d281da2d666a0d77e16bfc3fc2e0fcf17ff53ab39dba0c2a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6e6a78702f6a6e6a78702e78636d642f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/jnjxp/jnjxp.xcmd)[![Coverage Status](https://camo.githubusercontent.com/7ec351bdff8a354b8c9cdb6f53ca24f8e85511c6e2cef20d0c4abea92f7128e6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6a6e6a78702f6a6e6a78702e78636d642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/jnjxp/jnjxp.xcmd)[![Quality Score](https://camo.githubusercontent.com/8a194fd4d9eab4a5700c8add0b1c31eb6745c49101d0d5a76c77dd8cd0a83b0f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a6e6a78702f6a6e6a78702e78636d642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/jnjxp/jnjxp.xcmd)

Installation
------------

[](#installation)

```
composer require jnjxp/xcmd

```

Usage
-----

[](#usage)

```
use Jnjxp\Xcmd\ExternalCommand;

$cmd = new ExternalCommand('elinks -dump -dump-color-mode 1');
$payload = $cmd($response->getBody()); // write input to stdin

if ($payload->isError()) {
    foreach ($payload->getMessages() as $error) {
        echo $error . "\n";
    }
    exit($payload->getStatus())
}

echo $payload;
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

3489d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64baf5fff415327ccc832998afe54b34ac3c621e401f128a9343d4e0b0a3f9e4?d=identicon)[jnj](/maintainers/jnj)

---

Top Contributors

[![jakejohns](https://avatars.githubusercontent.com/u/174708?v=4)](https://github.com/jakejohns "jakejohns (9 commits)")

### Embed Badge

![Health badge](/badges/jnjxp-xcmd/health.svg)

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

###  Alternatives

[radar/adr

The Action-Domain-Responder core library for Radar.

547.5k4](/packages/radar-adr)

PHPackages © 2026

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