PHPackages                             piotrpress/executor - 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. piotrpress/executor

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

piotrpress/executor
===================

This library is an object wrapper for an exec PHP function.

v1.0.0(4y ago)17GPL-3.0PHPPHP &gt;=7.4

Since Sep 2Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Executor
========

[](#executor)

This library is an object wrapper for an [exec](https://www.php.net/manual/en/function.exec.php) PHP function.

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

[](#installation)

```
composer require piotrpress/executor
```

Usage
-----

[](#usage)

```
require __DIR__ . '/vendor/autoload.php';

use PiotrPress;

$result = new Executor( 'ls' );

$result->getOutput();
$result->getReturn();
$result->isSuccess();
$result->isFailure();

echo $result;
```

Requirements
------------

[](#requirements)

PHP &gt;= `7.4` version.

License
-------

[](#license)

[GPL3.0](license.txt)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1719d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

[![PiotrPress](https://avatars.githubusercontent.com/u/10326736?v=4)](https://github.com/PiotrPress "PiotrPress (1 commits)")

---

Tags

clicommandcommand-linecommandlineexecexecuteexecutionexecutorclicommand-linecommandexecutorexecuteexeccommandline

### Embed Badge

![Health badge](/badges/piotrpress-executor/health.svg)

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

###  Alternatives

[nategood/commando

PHP CLI Commando Style

8123.3M38](/packages/nategood-commando)[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[mrrio/shellwrap

Use any command-line tool as a PHP function.

738198.8k2](/packages/mrrio-shellwrap)[aura/cli

Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.

1051.6M29](/packages/aura-cli)[inhere/console

php console library, provide console argument parse, console controller/command run, color style, user interactive, information show.

3477.4k12](/packages/inhere-console)[kenjis/codeigniter-cli

A command-line tool for CodeIgniter 3.0

10037.1k](/packages/kenjis-codeigniter-cli)

PHPackages © 2026

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