2017 © Pedro PelĆ”ez
 

yii2-extension yii2-console-runner-extension

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

image

cbackup/yii2-console-runner-extension

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

  • Thursday, January 18, 2018
  • by launcherx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 24 Forks
  • 0 Open issues
  • 5 Versions
  • 9 % Grown

The README.md

Console Runner

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

Changelog

Unlike it's parent version, this fork has support for Windows and doesn't break compatibility with PHP-FPM., (*2)

Installation

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

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

Then do composer install., (*4)

Usage

Imported class:, (*5)

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

Application component:, (*6)

// config.php
...
components [
    'consoleRunner' => [
        'class' => 'cbackup\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 ...');

The Versions

18/01 2018

dev-master

9999999-dev https://github.com/cBackup/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

by Oļegs Čapligins

yii2 console commands yii 2 background runner

18/01 2018

dev-developer

dev-developer https://github.com/cBackup/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

by Oļegs Čapligins

yii2 console commands yii 2 background runner

18/01 2018

0.2.0

0.2.0.0 https://github.com/cBackup/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

by Oļegs Čapligins

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