Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subfission/doodad
Simple methods for common linux system calls
https://github.com/subfission/doodad
Last synced: 19 days ago
JSON representation
Simple methods for common linux system calls
- Host: GitHub
- URL: https://github.com/subfission/doodad
- Owner: subfission
- License: mit
- Created: 2015-04-21T08:55:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-12T08:27:26.000Z (over 8 years ago)
- Last Synced: 2024-11-29T01:49:28.395Z (about 1 month ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/subfission/doodad.svg)](https://travis-ci.org/subfission/doodad)
[![Latest Stable Version](https://poser.pugx.org/subfission/doodad/v/stable)](https://packagist.org/packages/subfission/doodad)
[![License](https://poser.pugx.org/subfission/doodad/license)](https://packagist.org/packages/subfission/doodad)# 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()