Guide
Middleware
Middleware can be attached to routes or groups when request pre-processing is needed.
- Create a class in App\Middleware that extends Core\Middleware.
- Return true to continue request handling.
- Return false to stop the request with a 403 response.