PHPackages                             apinstein/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. apinstein/shell-command

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

apinstein/shell-command
=======================

A generic wrapper for execution of shell command to make it easy to horizontally scale such work.

v2.0.2(9y ago)228.0k2[1 issues](https://github.com/apinstein/ShellCommand/issues)[3 PRs](https://github.com/apinstein/ShellCommand/pulls)MITPHPPHP &gt;=5.2.0

Since Feb 28Pushed 9y ago5 watchersCompare

[ Source](https://github.com/apinstein/ShellCommand)[ Packagist](https://packagist.org/packages/apinstein/shell-command)[ Docs](http://github.com/apinstein/ShellCommand)[ RSS](/packages/apinstein-shell-command/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (2)Versions (22)Used By (0)

ShellCommand
============

[](#shellcommand)

A generic wrapper for execution of shell command to make it easy to horizontally scale such work.

Security Notice
===============

[](#security-notice)

This code is not expected to accept arbitrary user input. If you create a ShellCommand without using escapeshellarg() and escapeshellcmd() then you are using this insecurely.

The reason we don't do this in ShellCommand is that escapeshellcmd() neuters pipes and redirection, and escapeshellarg() requires parsing which would introduce its own security risks.

Therefore we just punt on security and tell you to sanitize your inputs before creating a ShellCommand.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 77.4% 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 ~101 days

Recently: every ~82 days

Total

16

Last Release

3399d ago

Major Versions

v1.2.x-dev → v2.0.02017-04-18

### Community

Maintainers

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

---

Top Contributors

[![apinstein](https://avatars.githubusercontent.com/u/34889?v=4)](https://github.com/apinstein "apinstein (24 commits)")[![woofyman99](https://avatars.githubusercontent.com/u/357084?v=4)](https://github.com/woofyman99 "woofyman99 (4 commits)")[![jasonbouffard](https://avatars.githubusercontent.com/u/181576?v=4)](https://github.com/jasonbouffard "jasonbouffard (1 commits)")[![lorennorman](https://avatars.githubusercontent.com/u/17697?v=4)](https://github.com/lorennorman "lorennorman (1 commits)")[![parisholley](https://avatars.githubusercontent.com/u/399289?v=4)](https://github.com/parisholley "parisholley (1 commits)")

---

Tags

shelljob

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k595.6M863](/packages/psy-psysh)[mikehaertl/php-shellcommand

An object oriented interface to shell commands

34041.8M76](/packages/mikehaertl-php-shellcommand)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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