Skip to content

Commit 96f2493

Browse files
authored
Fix #198: add yiisoft/request-provider (#218)
1 parent b546690 commit 96f2493

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"yiisoft/log-target-file": "^3.0",
6262
"yiisoft/middleware-dispatcher": "^5.2",
6363
"yiisoft/request-body-parser": "^1.1",
64+
"yiisoft/request-provider": "^1.2",
6465
"yiisoft/router": "^4.0",
6566
"yiisoft/router-fastroute": "^4.0.1",
6667
"yiisoft/validator": "^1.4.1",

config/web/params.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Yiisoft\ErrorHandler\Middleware\ErrorCatcher;
6+
use Yiisoft\RequestProvider\RequestCatcherMiddleware;
67
use Yiisoft\Router\Middleware\Router;
78
use Yiisoft\Yii\Middleware\Subfolder;
89

@@ -14,6 +15,7 @@
1415
],
1516

1617
'middlewares' => [
18+
RequestCatcherMiddleware::class,
1719
ErrorCatcher::class,
1820
Subfolder::class,
1921
Router::class,

0 commit comments

Comments
 (0)