The package defines Yii Application Runner. A runner hides application initialization details making configuration process easier.
The package could be installed with Composer:
composer require yiisoft/yii-runner
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();
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.
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.