Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 581 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 581 Bytes

php-classic

PHP libraries to be used as helpers in any project

Build Status

Include the lib or use PSR-4

//in your app bootstrap
require_once __DIR__ . '/php-classic/src/autoloader.php'; 

Usages

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());