summaryrefslogtreecommitdiff
path: root/config/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/app.php')
-rw-r--r--config/app.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/config/app.php b/config/app.php
index 74eb2991..bb405fde 100644
--- a/config/app.php
+++ b/config/app.php
@@ -4,7 +4,7 @@
return [
// Service providers
- 'providers' => [
+ 'providers' => [
\Engelsystem\Logger\LoggerServiceProvider::class,
\Engelsystem\Exceptions\ExceptionsServiceProvider::class,
\Engelsystem\Config\ConfigServiceProvider::class,
@@ -13,5 +13,15 @@ return [
\Engelsystem\Database\DatabaseServiceProvider::class,
\Engelsystem\Http\RequestServiceProvider::class,
\Engelsystem\Http\SessionServiceProvider::class,
+ \Engelsystem\Http\ResponseServiceProvider::class,
+ \Engelsystem\Http\Psr7ServiceProvider::class,
+ ],
+
+ // Application middleware
+ 'middleware' => [
+ \Engelsystem\Middleware\SendResponseHandler::class,
+ \Engelsystem\Middleware\ExceptionHandler::class,
+ \Engelsystem\Middleware\LegacyMiddleware::class,
+ \Engelsystem\Middleware\NotFoundResponse::class,
],
];