PHP libraries to be used as helpers in any project
//in your app bootstrap
require_once __DIR__ . '/php-classic/src/autoloader.php';
use PHPClassic\Shell;
use PHPClassic\ConsoleOutput;
$shell = new Shell;
$output = new ConsoleOutput;
$shell->execute('ls', array(__DIR__, '-la'));
$output
->setColor('yellow', null, 'bold')
->write($shell->getOutput());