per-seo/httphtmlexception

HTTP Exception for Slim 4. This Middleware show an html page when a 404 Not Found occours

1.0 2025-08-04 16:53 UTC

This package is auto-updated.

Last update: 2025-08-04 17:01:08 UTC


README

A simple middleware for Slim4 framework that show a page for 404 Not Found. Usage is very simple, just enable this Middleware (in the Middleware part of your Slim4 Project) with:

<?php

use PerSeo\Middleware\HttpException\Html\HttpExceptionMiddleware;

$app->add(HttpExceptionMiddleware::class);

After this, your Slim 4 project returns an html page for 404 Not Found.