All Projects → vova07 → Yii2 Console Runner Extension

vova07 / Yii2 Console Runner Extension

Licence: bsd-3-clause
An extension for running console commands on background in Yii framework.

Projects that are alternatives of or similar to Yii2 Console Runner Extension

executor
A powerful "short-cutter" to your console to you and your team!
Stars: ✭ 21 (-74.7%)
Mutual labels:  console, runner
t-rex-game-bot
A bot that plays the Google Chrome T-Rex game for you
Stars: ✭ 60 (-27.71%)
Mutual labels:  console, runner
Console
The Console component eases the creation of beautiful and testable command line interfaces.
Stars: ✭ 8,988 (+10728.92%)
Mutual labels:  console
Headmore
Top geek’s VNC client that runs in Linux terminal (Linux VT console, xterm, and more)
Stars: ✭ 82 (-1.2%)
Mutual labels:  console
Laravel Console Logger
Logging and Notifications for Laravel Console Commands.
Stars: ✭ 79 (-4.82%)
Mutual labels:  console
Kantphp2
KantPHP Framework V2
Stars: ✭ 75 (-9.64%)
Mutual labels:  yii2
Mix Phar Skeleton
Phar command line program development skeleton
Stars: ✭ 81 (-2.41%)
Mutual labels:  console
Listr2
NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
Stars: ✭ 73 (-12.05%)
Mutual labels:  console
Ar Linkmany
ActiveRecord behavior for saving many-to-many relations
Stars: ✭ 83 (+0%)
Mutual labels:  yii2
Yii2 Schemadump
Generate the schema from an existing database.
Stars: ✭ 78 (-6.02%)
Mutual labels:  yii2
Panwid
A collection of widgets for urwid.
Stars: ✭ 82 (-1.2%)
Mutual labels:  console
Taskline
Tasks, boards & notes for the command-line habitat
Stars: ✭ 78 (-6.02%)
Mutual labels:  console
I3 Quickterm
A small drop-down terminal for i3 and sway
Stars: ✭ 76 (-8.43%)
Mutual labels:  console
Omnia
Stars: ✭ 81 (-2.41%)
Mutual labels:  console
Emu2
Simple x86 and DOS emulator for the Linux terminal.
Stars: ✭ 75 (-9.64%)
Mutual labels:  console
Neko8
Fantasy console inspired by pico8, tic80 and liko12, written in c++
Stars: ✭ 83 (+0%)
Mutual labels:  console
Tiza
Console styling for browsers
Stars: ✭ 74 (-10.84%)
Mutual labels:  console
Sienna
Fast-paced one button platformer
Stars: ✭ 77 (-7.23%)
Mutual labels:  runner
Window Size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Stars: ✭ 79 (-4.82%)
Mutual labels:  console
Gui Rbac Yii2
GUI for RBAC Yii2 Auth manager
Stars: ✭ 83 (+0%)
Mutual labels:  yii2

Console Runner

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

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

Installation

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

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

Then do composer install.

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].