2017 © Pedro Peláez
 

yii2-extension yii2-console-runner-extension

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

image

vova07/yii2-console-runner-extension

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

  • Saturday, January 20, 2018
  • by vova07
  • Repository
  • 14 Watchers
  • 80 Stars
  • 29,686 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 24 Forks
  • 2 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

Console Runner

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

An extension for running console commands on background in Yii framework., (*2)

Installation

Add the following to require section of your composer.json:, (*3)

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

Then do composer install., (*4)

Usage

Imported class:
use vova07\console\ConsoleRunner;
$cr = new ConsoleRunner(['file' => '@my/path/to/yii']);
$cr->run('controller/action param1 param2 ...');
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

$ phpunit

The Versions

20/01 2018

dev-master

9999999-dev https://github.com/vova07/yii2-console-runner-extension

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 console commands yii 2 background runner

20/01 2018

0.1.2

0.1.2.0 https://github.com/vova07/yii2-console-runner-extension

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 console commands yii 2 background runner

20/01 2018

0.1.2.x-dev

0.1.2.9999999-dev https://github.com/vova07/yii2-console-runner-extension

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 console commands yii 2 background runner

10/12 2017

0.1.1

0.1.1.0 https://github.com/vova07/yii2-console-runner-extension

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

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 console commands yii 2 background runner

27/05 2014

0.1.0

0.1.0.0 https://github.com/vova07/yii2-console-runner-extension

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

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 console commands yii 2 background runner