2017-09-22 14:02:02 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Application config
|
|
|
|
|
|
|
|
return [
|
|
|
|
// Service providers
|
2018-08-12 00:08:52 +02:00
|
|
|
'providers' => [
|
2017-10-31 13:40:13 +01:00
|
|
|
\Engelsystem\Logger\LoggerServiceProvider::class,
|
|
|
|
\Engelsystem\Exceptions\ExceptionsServiceProvider::class,
|
|
|
|
\Engelsystem\Config\ConfigServiceProvider::class,
|
2018-08-22 03:10:08 +02:00
|
|
|
\Engelsystem\Http\UrlGeneratorServiceProvider::class,
|
2017-10-31 13:40:13 +01:00
|
|
|
\Engelsystem\Renderer\RendererServiceProvider::class,
|
|
|
|
\Engelsystem\Database\DatabaseServiceProvider::class,
|
2017-11-01 14:47:09 +01:00
|
|
|
\Engelsystem\Http\RequestServiceProvider::class,
|
|
|
|
\Engelsystem\Http\SessionServiceProvider::class,
|
2018-01-18 19:01:34 +01:00
|
|
|
\Engelsystem\Http\ResponseServiceProvider::class,
|
|
|
|
\Engelsystem\Http\Psr7ServiceProvider::class,
|
2017-09-22 14:02:02 +02:00
|
|
|
],
|
2018-08-12 00:08:52 +02:00
|
|
|
|
|
|
|
// Application middleware
|
|
|
|
'middleware' => [
|
|
|
|
\Engelsystem\Middleware\SendResponseHandler::class,
|
|
|
|
\Engelsystem\Middleware\ExceptionHandler::class,
|
|
|
|
\Engelsystem\Middleware\LegacyMiddleware::class,
|
|
|
|
\Engelsystem\Middleware\NotFoundResponse::class,
|
|
|
|
],
|
2017-09-22 14:02:02 +02:00
|
|
|
];
|