no-framework-tutorial/app/config/middlewares.php

14 lines
277 B
PHP
Raw Normal View History

2022-03-31 06:34:30 +00:00
<?php declare(strict_types=1);
use Lubian\NoFramework\Http\RouteMiddleware;
2022-04-06 21:43:03 +00:00
use Lubian\NoFramework\Middleware\Cache;
2022-03-31 06:34:30 +00:00
use Middlewares\TrailingSlash;
use Middlewares\Whoops;
return [
Whoops::class,
2022-04-06 21:43:03 +00:00
Cache::class,
2022-03-31 06:34:30 +00:00
TrailingSlash::class,
RouteMiddleware::class,
];