Registry / cli / mikehaertl-php-shellcommand

mikehaertl-php-shellcommand

JSON →
library1.7.0phppackagistunverified

An object oriented interface to shell commands for PHP.

composer require mikehaertl/php-shellcommand
INSTALL
IMPORT
SIG · MIKEHAERTL-PHP-SHE
M
mikehaertl-php-shellcommand
cliphpv1.7.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.

Command
use mikehaertl\shellcommand\Command;

Execute a shell command and retrieve its output.

use mikehaertl\shellcommand\Command; $command = new Command('ls -la'); $command->execute(); echo $command->getOutput();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
OpenAI (training)
1
Resources
mikehaertl-php-shellcommand — pip install mikehaertl-php-shellcommand · libregistry