PHPackages                             cars24/php-shellcommand - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. cars24/php-shellcommand

ActiveLibrary[CLI &amp; Console](/categories/cli)

cars24/php-shellcommand
=======================

An object oriented interface to shell commands

1.0.2(7y ago)0271MITPHPPHP &gt;= 5.4.0

Since Apr 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/koolsam/html_to_pdf_shellCommand)[ Packagist](https://packagist.org/packages/cars24/php-shellcommand)[ RSS](/packages/cars24-php-shellcommand/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

php-shellcommand
================

[](#php-shellcommand)

[![Build Status](https://camo.githubusercontent.com/e7a990ee114b3925738c0336afdb63ead22ed0facd555cf448e917524830acbe/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d696b6568616572746c2f7068702d7368656c6c636f6d6d616e642e706e67)](http://travis-ci.org/mikehaertl/php-shellcommand)[![Latest Stable Version](https://camo.githubusercontent.com/96d33a9e97441dfaf51d30be1184e5c8b05036fffcee9cba16d48fb3faa07f80/68747470733a2f2f706f7365722e707567782e6f72672f6d696b6568616572746c2f7068702d7368656c6c636f6d6d616e642f762f737461626c652e737667)](https://packagist.org/packages/mikehaertl/php-shellcommand)[![Total Downloads](https://camo.githubusercontent.com/c47251d2c1880afeb26e7a8d7c5051434c61802b55c317b522e1ff71990a6d16/68747470733a2f2f706f7365722e707567782e6f72672f6d696b6568616572746c2f7068702d7368656c6c636f6d6d616e642f646f776e6c6f616473)](https://packagist.org/packages/mikehaertl/php-shellcommand)[![Latest Unstable Version](https://camo.githubusercontent.com/21a4ff801c7e104d2b571de1039410ad8ff81c6b887834be257b772104307fad/68747470733a2f2f706f7365722e707567782e6f72672f6d696b6568616572746c2f7068702d7368656c6c636f6d6d616e642f762f756e737461626c652e737667)](https://packagist.org/packages/mikehaertl/php-shellcommand)[![License](https://camo.githubusercontent.com/8ad069987cea90eb843c1674c28c6ccf58031a817f58b35aa965b4f9d761958e/68747470733a2f2f706f7365722e707567782e6f72672f6d696b6568616572746c2f7068702d7368656c6c636f6d6d616e642f6c6963656e73652e737667)](https://packagist.org/packages/mikehaertl/php-shellcommand)

php-shellcommand provides a simple object oriented interface to execute shell commands.

Features
--------

[](#features)

- Catches `stdOut`, `stdErr` and `exitCode`
- Handle argument escaping
- Pass environment vars and other options to `proc_open()`

Examples
--------

[](#examples)

### Basic Example

[](#basic-example)

```
