PHPackages                             yiisoft/yii-runner-console - 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. [Framework](/categories/framework)
4. /
5. yiisoft/yii-runner-console

ActiveLibrary[Framework](/categories/framework)

yiisoft/yii-runner-console
==========================

Console application runner

2.2.1(5mo ago)10186.6k—0.2%3[1 issues](https://github.com/yiisoft/yii-runner-console/issues)8BSD-3-ClausePHPPHP 8.0 - 8.5CI passing

Since Jan 17Pushed 5mo ago12 watchersCompare

[ Source](https://github.com/yiisoft/yii-runner-console)[ Packagist](https://packagist.org/packages/yiisoft/yii-runner-console)[ Docs](https://www.yiiframework.com/)[ GitHub Sponsors](https://github.com/sponsors/yiisoft)[ OpenCollective](https://opencollective.com/yiisoft)[ RSS](/packages/yiisoft-yii-runner-console/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (10)Versions (10)Used By (8)

 [ ![Yii](https://camo.githubusercontent.com/8317c17418b39410a660f5149071d26c5023c0d5fb2b7ebb771324812f666d73/68747470733a2f2f796969736f66742e6769746875622e696f2f646f63732f696d616765732f7969695f6c6f676f2e737667) ](https://github.com/yiisoft)

Yii Console Runner
==================

[](#yii-console-runner)

[![Latest Stable Version](https://camo.githubusercontent.com/082a457bf3052b7112c276190294edb7e20094c0f7d8b5028837debfd957cd47/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f7969692d72756e6e65722d636f6e736f6c652f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii-runner-console)[![Total Downloads](https://camo.githubusercontent.com/bc7e1f2e5a23a4102eb394bae38a36e1dbd5b20b6f7718374b51f410499cad21/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f7969692d72756e6e65722d636f6e736f6c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii-runner-console)[![Build status](https://github.com/yiisoft/yii-runner-console/workflows/build/badge.svg)](https://github.com/yiisoft/yii-runner-console/actions?query=workflow%3Abuild)[![Code Coverage](https://camo.githubusercontent.com/34708de5355e14620debd0f59096cb2cffad25c6b38a81948b3324dfd06ba9d4/68747470733a2f2f636f6465636f762e696f2f67682f796969736f66742f7969692d72756e6e65722d636f6e736f6c652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/yiisoft/yii-runner-console)[![static analysis](https://github.com/yiisoft/yii-runner-console/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/yii-runner-console/actions?query=workflow%3A%22static+analysis%22)[![type-coverage](https://camo.githubusercontent.com/f49af6abdf7fa5007cca61352e464b88ef9ba441875f697db2c9ee8d3004f333/68747470733a2f2f73686570686572642e6465762f6769746875622f796969736f66742f7969692d72756e6e65722d636f6e736f6c652f636f7665726167652e737667)](https://shepherd.dev/github/yiisoft/yii-runner-console)

The package contains a bootstrap for running Yii3 console application.

Requirements
------------

[](#requirements)

- PHP 8.0 - 8.5.

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

[](#installation)

The package could be installed with [Composer](https://getcomposer.org):

```
composer require yiisoft/yii-runner-console
```

General usage
-------------

[](#general-usage)

In your console entry script do the following:

```
#!/usr/bin/env php
