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

14 lines
297 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-04 22:02:52 +00:00
use Lubian\NoFramework\Middleware\CacheMiddleware;
2022-03-31 06:34:30 +00:00
use Middlewares\TrailingSlash;
use Middlewares\Whoops;
return [
Whoops::class,
TrailingSlash::class,
2022-04-04 22:02:52 +00:00
CacheMiddleware::class,
2022-03-31 06:34:30 +00:00
RouteMiddleware::class,
];