PHPackages                             phore/system - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phore/system

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phore/system
============

Execute shell commands

v1.1.0(3y ago)211.3k↓12.5%[1 issues](https://github.com/phore/phore-system/issues)9MITShellPHP &gt;7.1CI failing

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/phore/phore-system)[ Packagist](https://packagist.org/packages/phore/system)[ Docs](https://infracamp.org/project/phore)[ RSS](/packages/phore-system/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (9)

Phore System :: Wrapper to exec()
=================================

[](#phore-system--wrapper-to-exec)

This documentation is written along the guidelines of educational grade documentation discussed in the [infracamp](https://github.com/infracamp/infracamp/blob/master/DOCUMENTATION_GUIDE.md) project. Please ask and document issues.

Goals
-----

[](#goals)

- Secure and easy-to-use wrapper around `exec()`

Quickstart
----------

[](#quickstart)

**phore\_exec**

```
$return = phore_exec("ls -l :path", ["path"=>"some Path "])
echo $return;
```

**phore\_proc**

- Read STDOUT/STDERR:

```
$result = phore_proc("ls -l *", ["/some/path"])->wait();
echo "\nStderr: " . $result->getSTDERRContents();
echo "\nStdOut: " . $result->getSTDOUTContents();
```

- Read stream

```
$result = phore_proc("ls -l *", ["/some/path"])
    ->watch(1, function ($data, $len, PhoreProc $proc) use () {
        if ($data === null) {
            echo "End of stream";
            return;
        }
        echo "Steam in: $data";
    })->wait();
echo "\nStderr: " . $result->getSTDERRContents();
```

Installation
------------

[](#installation)

We suggest using [composer](http://getcomposer.com):

```
composer require phore/system

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~906 days

Total

2

Last Release

1350d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

[![dermatthes](https://avatars.githubusercontent.com/u/13380559?v=4)](https://github.com/dermatthes "dermatthes (18 commits)")[![ddomroese](https://avatars.githubusercontent.com/u/23307096?v=4)](https://github.com/ddomroese "ddomroese (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phore-system/health.svg)

```
[![Health](https://phpackages.com/badges/phore-system/health.svg)](https://phpackages.com/packages/phore-system)
```

###  Alternatives

[duncan3dc/speaker

Convert text to speech using web services

11439.8k1](/packages/duncan3dc-speaker)[tapp/filament-progress-bar-column

Add beautiful, color-coded progress bars to your Filament table columns. Perfect for inventory, tasks, storage, and any progress metrics without writing custom views.

1313.4k](/packages/tapp-filament-progress-bar-column)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
