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

0.1.3 2016-01-15 15:35 UTC


require_once 'vendor/autoload.php';

// Specify which version you want
//$os = Datasift\Os::getOs("Ubuntu", "12.10");

// Or, autodetect
$os = Datasift\Os::getOs();

// Show what version we're currently running
echo "Currently running: ". $os->getName()." ".$os->getVersion().PHP_EOL;
echo PHP_EOL;

// Run a command
echo $os->runCommand("ls -l");
echo PHP_EOL;

// Possible class names

// Dump out the class so that we can see if it's a specialist class or a base one