subfission / doodad
Simple methods for common linux system calls
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/subfission/doodad
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2025-10-10 16:18:06 UTC
README
Doodad
Simple methods for common linux system calls
Installation
$ composer require "subfission/doodad" : "dev-master"
Usage
$doodad = new Subfission\Doodad();
$return_object = $doodad->ignoreErrors()->execute('ls');
print_r( $return_object->getOutput());
If you would like to view output as html ready content, use this to get a ready-for-web implementation.
echo $return_object->getOutputPretty($class_name)
Note this is not sanitized from XSRF attacks.
Other Options
getReturnVal()
getStatusCode()