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

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

vova07/yii2-console-runner-extension
====================================

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

0.1.2(8y ago)88202.2k↓31.6%24[1 issues](https://github.com/vova07/yii2-console-runner-extension/issues)[1 PRs](https://github.com/vova07/yii2-console-runner-extension/pulls)2BSD-3-ClausePHP

Since May 27Pushed 6y ago13 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (2)

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

[](#console-runner)

[![Latest Version](https://camo.githubusercontent.com/74b7b9abe61e22c5407af0eea308539c13a481100ac29e3eae2711ed2c74447a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f766f766130372f796969322d636f6e736f6c652d72756e6e65722d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/vova07/yii2-console-runner-extension/releases)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/4fd44b5cdef58eed4080eab3e7f64b4f89ce026341c3f143ef368e4fd92aceda/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f766f766130372f796969322d636f6e736f6c652d72756e6e65722d657874656e73696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vova07/yii2-console-runner-extension)[![Coverage Status](https://camo.githubusercontent.com/bbb0d9a90695a57b40f1a2e381c220967a07451eba84c9a1286a1483c8afa5ae/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f766f766130372f796969322d636f6e736f6c652d72756e6e65722d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vova07/yii2-console-runner-extension/code-structure)[![Quality Score](https://camo.githubusercontent.com/dd876f4096bb8b487bd00c74722c95eeb562a4d5f37c1cf87d189771bfb12d73/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f766f766130372f796969322d636f6e736f6c652d72756e6e65722d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vova07/yii2-console-runner-extension)[![Total Downloads](https://camo.githubusercontent.com/39e42b408c62e6b8ba88b77e32bbbc38de3d02ee6b6687e7ab30e56c9e427260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766f766130372f796969322d636f6e736f6c652d72756e6e65722d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vova07/yii2-console-runner-extension)

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

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

[](#installation)

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

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

```

Then do `composer install`.

Usage
-----

[](#usage)

##### Imported class:

[](#imported-class)

```
use vova07\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' => 'vova07\console\ConsoleRunner',
        '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

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~667 days

Total

3

Last Release

3040d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2714082?v=4)[Vasile C.](/maintainers/vova07)[@vova07](https://github.com/vova07)

---

Top Contributors

[![vova07](https://avatars.githubusercontent.com/u/2714082?v=4)](https://github.com/vova07 "vova07 (21 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

backgroundbackground-runnercommandsconsoleconsole-runnerrunneryii2consoleyii2backgroundyii 2commandsrunner

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)
