PHPackages                             twisted1919/yii2-console-runner-extension - 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. twisted1919/yii2-console-runner-extension

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

twisted1919/yii2-console-runner-extension
=========================================

An extension for running console commands on background in Yii framework.

1.0.2(7y ago)01161BSD-3-ClausePHP

Since May 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/twisted1919/yii2-console-runner-extension)[ Packagist](https://packagist.org/packages/twisted1919/yii2-console-runner-extension)[ Docs](https://github.com/twisted1919/yii2-console-runner-extension)[ RSS](/packages/twisted1919-yii2-console-runner-extension/feed)WikiDiscussions master Synced yesterday

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

Console Runner
==============

[](#console-runner)

An extension for running console commands on background in Yii framework.
This is a fork of `https://github.com/vova07/yii2-console-runner-extension`, so all credits go to it's author, we just forked it to add PHP 7 features and a few additional checks.

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

[](#installation)

Add the following to `require` section of your `composer.json`:

```
"twisted1919/yii2-console-runner-extension": "*"

```

Then do `composer install`.

Usage
-----

[](#usage)

##### Imported class:

[](#imported-class)

```
use twisted1919\console\ConsoleRunner;
$cr = new ConsoleRunner(['file' => '@my/path/to/yii']);
$cr->run('controller/action param1 param2 ...');
```

##### Application component:

[](#application-component)

```
// config.php
...
'components' => [
    'consoleRunner' => [
        'class' => twisted1919\console\ConsoleRunner::class,
        'file' => '@my/path/to/yii' // or an absolute path to console file
    ]
]
...

// some-file.php
Yii::$app->consoleRunner->run('controller/action param1 param2 ...');
```

### Running Tests

[](#running-tests)

```
$ phpunit
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~323 days

Recently: every ~80 days

Total

6

Last Release

2753d ago

Major Versions

0.1.2 → 1.0.02018-10-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/da623d60cc62d890cabd00c4cb7163496bbd5be6c4a2d26f1ceefa757198ef45?d=identicon)[twisted1919](/maintainers/twisted1919)

---

Top Contributors

[![vova07](https://avatars.githubusercontent.com/u/2714082?v=4)](https://github.com/vova07 "vova07 (21 commits)")[![twisted1919](https://avatars.githubusercontent.com/u/957490?v=4)](https://github.com/twisted1919 "twisted1919 (6 commits)")[![manky](https://avatars.githubusercontent.com/u/2181568?v=4)](https://github.com/manky "manky (1 commits)")[![mickgeek](https://avatars.githubusercontent.com/u/8091481?v=4)](https://github.com/mickgeek "mickgeek (1 commits)")[![nepster-web](https://avatars.githubusercontent.com/u/5681979?v=4)](https://github.com/nepster-web "nepster-web (1 commits)")

---

Tags

consoleyii2backgroundyii 2commandsrunner

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twisted1919-yii2-console-runner-extension/health.svg)

```
[![Health](https://phpackages.com/badges/twisted1919-yii2-console-runner-extension/health.svg)](https://phpackages.com/packages/twisted1919-yii2-console-runner-extension)
```

###  Alternatives

[vova07/yii2-console-runner-extension

An extension for running console commands on background in Yii framework.

88202.2k2](/packages/vova07-yii2-console-runner-extension)[toriphes/yii2-console-runner

Runs console command in yii web application

29240.1k](/packages/toriphes-yii2-console-runner)[samdark/yii2-webshell

A web shell that allows to run yii console commands and create your own commands.

22981.5k1](/packages/samdark-yii2-webshell)[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2233.5k](/packages/fedemotta-yii2-cronjob)[phlib/console-process

Console implementation.

1833.5k2](/packages/phlib-console-process)

PHPackages © 2026

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