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

13 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;
use Middlewares\TrailingSlash;
use Middlewares\Whoops;
return [
Whoops::class,
TrailingSlash::class,
\Lubian\NoFramework\Middleware\CacheMiddleware::class,
RouteMiddleware::class,
];