yiisoft/yii-runner

Yii application runner

Package info

github.com/yiisoft/yii-runner

Homepage

Chat

Forum

Wiki

pkg:composer/yiisoft/yii-runner

Fund package maintenance!

Opencollective

yiisoft

Statistics

Installs: 237 481

Dependents: 11

Suggesters: 0

Stars: 17

Open Issues: 6

2.2.1 2025-12-19 12:23 UTC

Requires

Suggests

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 8412249e76e58a71903df17b06e69900c705af7b

runneryii3

This package is auto-updated.

Last update: 2026-06-24 21:47:15 UTC


README

👁 Yii

Yii Application Runner


👁 Latest Stable Version
👁 Total Downloads
👁 Build status
👁 Code Coverage
👁 Mutation testing badge
👁 static analysis
👁 type-coverage

The package defines Yii Application Runner. A runner hides application initialization details making configuration process easier.

Requirements

  • PHP 8.0 - 8.5.

Installation

The package could be installed with Composer:

composer require yiisoft/yii-runner

General usage

Install one of the adapters:

Instantiate and run it in an entry script:

use Yiisoft\Yii\Runner\Http\HttpApplicationRunner;

require_once __DIR__ . '/autoload.php';

(new HttpApplicationRunner(
 rootPath: __DIR__, 
 debug: $_ENV['YII_DEBUG'],
 environment: $_ENV['YII_ENV']
))->run();

Documentation

If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.

License

The Yii Application Runner is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

👁 Open Collective

Follow updates

👁 Official website
👁 Twitter
👁 Telegram
👁 Facebook
👁 Slack