sp4ceb4r/shell-command

Shell command module for PHP.

0.2.3 2019-06-11 14:06 UTC

This package is auto-updated.

Last update: 2024-11-12 01:33:58 UTC


README

Build Status License

shell-command

A simple wrapper of the php proc_open command.

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

Getting Started

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

Installing

composer require sp4ceb4r/shell-command

Running the tests

phpunit tests