PHPackages                             icyboy/shellwrap - 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. icyboy/shellwrap

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

icyboy/shellwrap
================

Use any command-line tool as a PHP function.

0.4.2(10y ago)056MITPHP &gt;=5.3.0

Since Oct 15Compare

[ Source](https://github.com/icyxp/shellwrap)[ Packagist](https://packagist.org/packages/icyboy/shellwrap)[ Docs](http://github.com/MrRio/shellwrap)[ RSS](/packages/icyboy-shellwrap/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (1)Versions (6)Used By (0)

ShellWrap
=========

[](#shellwrap)

What is it?
-----------

[](#what-is-it)

It's a beautiful way to use powerful Linux/Unix tools in PHP. Easily and logically pipe commands together, capture errors as PHP Exceptions and use a simple yet powerful syntax. Works with any command line tool automagically.

Features
--------

[](#features)

- Flexible and sexy syntax.
- Exceptions are thrown if the executable returns an error.
- Paths to binaries are automatically resolved.
- All arguments are properly escaped.

Examples
--------

[](#examples)

```
