folleah/shellrun

There is no license information available for the latest version (v0.2.4) of this package.

Command Line OOP-style executor.

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/folleah/shellrun

v0.2.4 2018-06-01 13:15 UTC

This package is not auto-updated.

Last update: 2025-10-12 11:10:38 UTC


README

Example code:

<?php
namespace Folleah\Shellrun;

require 'vendor/autoload.php';

// run php in interactive mode
$runtime = (new Command('php'))
    ->withArg('-a')
    ->runtime();

$runtime->write("echo 'test';");
$runtime->read();
/**
* Interactive mode enabled
* test
 */