PHPackages                             filsh/yii2-runner - 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. filsh/yii2-runner

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

filsh/yii2-runner
=================

Component for run different objects or functions

1192PHP

Since May 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Filsh/yii2-runner)[ Packagist](https://packagist.org/packages/filsh/yii2-runner)[ RSS](/packages/filsh-yii2-runner/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-runner
===========

[](#yii2-runner)

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

[](#installation)

It is recommended that you install the Gearman library [through composer](http://getcomposer.org/). To do so, add the following lines to your `composer.json` file.

```
{
    "require": {
       "filsh/yii2-runner": "dev-master"
    }
}
```

Examples
--------

[](#examples)

```
// example runner
class Example extends \filsh\yii2\runner\BaseRunner
{
    public $fooValue;

    public $barValue;

    public function run()
    {
        echo 'example runner with param: ' . json_encode([$this->fooValue, $this->barValue]);
    }
}

// configure component
'components' => [
  'runner' => [
      'class' => 'filsh\yii2\runner\RunnerComponent',
      'runners' => [
          'example' => [
              'class' => Example::className(),
              'fooValue' => 'foo'
          ]
      ]
  ]
],

// run examples
$this->runner->run('example', ['barValue' => 'bar']); // example runner with param: ["foo","bar"]

$this->runner->run(function(array $params) {
    echo 'inline runner with params: ' . json_encode($params);
}, ['fooValue' => 'foo']); // inline runner with params: {"fooValue":"foo"}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fafc0b472b8b8cf1097a6fb094b7c5c10293e2f976e9eacb1ea1a34031b6e15?d=identicon)[Filsh](/maintainers/Filsh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/filsh-yii2-runner/health.svg)

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

PHPackages © 2026

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