Yii Runner 1.0.0 and adapters
2022-01-17
1226次浏览
First release of Yii Runner was tagged. A runner hides application initialization details making configuration process easier.
For example, instead of complicated initialization, the following is enough for HTTP application's index.php
:
<?php
declare(strict_types=1);
use Yiisoft\Yii\Runner\Http\HttpApplicationRunner;
require_once __DIR__ . '/autoload.php';
(new HttpApplicationRunner(__DIR__, $_ENV['YII_DEBUG'], $_ENV['YII_ENV']))->run();
Along with the main package, console adapter and HTTP adapter were released. RoadRunner adapter will follow a bit later.
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- view
- auth client
- html
- bootstrap
- release
- redis
- apidoc
- Yii 2.0
- Yii 1.1
- mongodb
- mailer
- extensions
- gii
- twig
- queue
- runner
- http 客户端
- console
- validation
- sphinx
- cache
- widget
- translator
- hydrator
- error handler
- db
- symfonymailer
- log
- http
- config
- assets
- swiftmailer
- 图书
- imagine
- csrf
- elasticsearch
- swagger
- IDE
- i18n
- router
- definitions
- fastroute
- logging
- smarty
- user