PHPackages                             sp4ceb4r/shell-command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. sp4ceb4r/shell-command

ActiveLibrary[CLI &amp; Console](/categories/cli)

sp4ceb4r/shell-command
======================

Shell command module for PHP.

0.2.3(6y ago)314.8k↓50%4[2 issues](https://github.com/sp4ceb4r/shell-command/issues)MITPHPPHP &gt;=5.5.9

Since Jan 13Pushed 6y ago2 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

 [ ![Build Status](https://camo.githubusercontent.com/98a837b4a92131e67640a5443cff27ec8bf2d712bce4028eb31928c46dba67b9/68747470733a2f2f7472617669732d63692e6f72672f73703463656234722f7368656c6c2d636f6d6d616e642e737667) ](https://travis-ci.org/sp4ceb4r/shell-command) [ ![License](https://camo.githubusercontent.com/763bbd47a0bcbd377ced6090d2310bb22ef62739d6f7ed309360cadc6a22413b/68747470733a2f2f706f7365722e707567782e6f72672f73703463656234722f7368656c6c2d636f6d6d616e642f6c6963656e73652e737667) ](https://packagist.org/packages/sp4ceb4r/shell-command)

shell-command
=============

[](#shell-command)

A simple wrapper of the php proc\_open command.

Simplifies running and interacting with shell commands within a php script.

Getting Started
---------------

[](#getting-started)

```
$process = Process::make(Command::make('sleep')->withArgs(5))
    ->runAsync();
$process->wait(2);
```

### Installing

[](#installing)

```
composer require sp4ceb4r/shell-command

```

Running the tests
-----------------

[](#running-the-tests)

```
phpunit tests

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.8% 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 ~207 days

Recently: every ~311 days

Total

7

Last Release

2533d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1795402?v=4)[sp4ceb4r](/maintainers/sp4ceb4r)[@sp4ceb4r](https://github.com/sp4ceb4r)

---

Top Contributors

[![sp4ceb4r](https://avatars.githubusercontent.com/u/1795402?v=4)](https://github.com/sp4ceb4r "sp4ceb4r (28 commits)")[![EugenGanshorn](https://avatars.githubusercontent.com/u/8372121?v=4)](https://github.com/EugenGanshorn "EugenGanshorn (3 commits)")[![nicolashohm](https://avatars.githubusercontent.com/u/148483?v=4)](https://github.com/nicolashohm "nicolashohm (2 commits)")

---

Tags

shellprocesscommand

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sp4ceb4r-shell-command/health.svg)

```
[![Health](https://phpackages.com/badges/sp4ceb4r-shell-command/health.svg)](https://phpackages.com/packages/sp4ceb4r-shell-command)
```

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[mrrio/shellwrap

Use any command-line tool as a PHP function.

738198.8k2](/packages/mrrio-shellwrap)[mikehaertl/php-shellcommand

An object oriented interface to shell commands

32437.5M61](/packages/mikehaertl-php-shellcommand)[ptlis/shell-command

A basic wrapper around execution of shell commands.

2256.0k2](/packages/ptlis-shell-command)

PHPackages © 2026

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