PHPackages                             edofre/yii2-command-caller - 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. edofre/yii2-command-caller

ActiveYii2-extension[CLI &amp; Console](/categories/cli)

edofre/yii2-command-caller
==========================

Yii2 command caller

V1.0.1(8y ago)113MITPHPPHP &gt;=5.5.0

Since Oct 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Edofre/yii2-command-caller)[ Packagist](https://packagist.org/packages/edofre/yii2-command-caller)[ Docs](https://github.com/edofre/yii2-command-caller)[ RSS](/packages/edofre-yii2-command-caller/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Yii2 Command Caller component
=============================

[](#yii2-command-caller-component)

[![Latest Stable Version](https://camo.githubusercontent.com/cafbf426e4447e3dd316802d98a9120b8e5f749d4b0dab875195e65a9e8f56ea/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d636f6d6d616e642d63616c6c65722f762f737461626c65)](https://packagist.org/packages/edofre/yii2-command-caller)[![Total Downloads](https://camo.githubusercontent.com/89ab48ac722eecc5b6ed583f0faee97ac5bcb5859e718cc0a789a41147fb8368/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d636f6d6d616e642d63616c6c65722f646f776e6c6f616473)](https://packagist.org/packages/edofre/yii2-command-caller)[![Latest Unstable Version](https://camo.githubusercontent.com/3d182741dd0d837ff4e2b40b39ea6315576673f2e0e5a638d5b3b538053dfd74/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d636f6d6d616e642d63616c6c65722f762f756e737461626c65)](https://packagist.org/packages/edofre/yii2-command-caller)[![License](https://camo.githubusercontent.com/059af371bc930c3578fd973a3251c4214ed03dba3528010e017dad8aa9fc05df/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d636f6d6d616e642d63616c6c65722f6c6963656e7365)](https://packagist.org/packages/edofre/yii2-command-caller)[![composer.lock](https://camo.githubusercontent.com/0e5d36f37eb332b147564e31bba556a206f221196d38bf0091e6b4f0094a9040/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d636f6d6d616e642d63616c6c65722f636f6d706f7365726c6f636b)](https://packagist.org/packages/edofre/yii2-command-caller)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

To install, either run

```
$ php composer.phar require edofre/yii2-command-caller "V1.0.1"

```

or add

```
"edofre/yii2-command-caller": "V1.0.1"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

### As application component

[](#as-application-component)

Add the component to your configuration file

```
    'components' => [
        'consoleRunner' => [
            'class' => 'edofre\commandcaller\CommandCaller',
            // Default values, not required
            'script' => '@app/yii',
            'executable' => '/usr/bin/php',
        ]
    ]
```

```
// We will change the $result variable in the CommandCaller class
Yii::$app->consoleRunner->run('command parameter1 parameter2');
```

### As single class

[](#as-single-class)

```
$commandCaller = new \edofre\commandcaller\CommandCaller();
$commandCaller->run('command parameter1 parameter2');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~0 days

Total

4

Last Release

3123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01cd9d2772b5c19c989c92093a092bd087524cee9629b0e715ccb4125a69f2e8?d=identicon)[edofre](/maintainers/edofre)

---

Top Contributors

[![Edofre](https://avatars.githubusercontent.com/u/710429?v=4)](https://github.com/Edofre "Edofre (14 commits)")

---

Tags

asynccommandconsoleyii2asynccommandbackgroundcaller

### Embed Badge

![Health badge](/badges/edofre-yii2-command-caller/health.svg)

```
[![Health](https://phpackages.com/badges/edofre-yii2-command-caller/health.svg)](https://phpackages.com/packages/edofre-yii2-command-caller)
```

###  Alternatives

[league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.

1.9k14.0M273](/packages/league-climate)[league/tactician

A small, flexible command bus. Handy for building service layers.

86415.4M127](/packages/league-tactician)[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)[clue/stdio-react

Async, event-driven console input &amp; output (STDIN, STDOUT) for truly interactive CLI applications, built on top of ReactPHP

19810.2M27](/packages/clue-stdio-react)[adhocore/cli

Command line interface library for PHP

3501.2M50](/packages/adhocore-cli)

PHPackages © 2026

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