PHPackages                             treehousetim/command - 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. treehousetim/command

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

treehousetim/command
====================

A simple, zero-dependency, shell command class for php.

0.0.4(6y ago)0139MITPHPPHP ^7.0CI failing

Since Nov 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/treehousetim/command)[ Packagist](https://packagist.org/packages/treehousetim/command)[ RSS](/packages/treehousetim-command/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (3)Versions (4)Used By (0)

treehousetim/command
====================

[](#treehousetimcommand)

simple, dependency-free, uncomplicated shell scripting command class

[![Build Status](https://camo.githubusercontent.com/361f6fb9540039f6ba06ed5a200ece58f111224befe9cf33e167688ced8fe940/68747470733a2f2f6170692e7472617669732d63692e6f72672f74726565686f75736574696d2f636f6d6d616e642e737667)](https://travis-ci.org/treehousetim/command)

\[TOC\]

Installing
----------

[](#installing)

`composer require treehousetim/command`

Usage
-----

[](#usage)

### Simple command with argument

[](#simple-command-with-argument)

```

```

### Simple command that is piped

[](#simple-command-that-is-piped)

Notice the use of the factory method here to make code pretty.

```
