folleah / shellrun
There is no license information available for the latest version (v0.2.4) of this package.
Command Line OOP-style executor.
v0.2.4
2018-06-01 13:15 UTC
Requires
- php: ^7.0
This package is not auto-updated.
Last update: 2025-05-11 08:50:49 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 */