no-framework-tutorial/app/config/middlewares.php
2022-05-31 18:50:35 +02:00

12 lines
277 B
PHP

<?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,
];