per-seo/forwarded-proto

X-Forwarded-Proto for Slim 4. This Middleware check if the X-Forwarded-Proto header is present and add correct schema in the request object.

1.0 2024-11-22 09:27 UTC

This package is auto-updated.

Last update: 2024-11-22 09:28:19 UTC


README

A simple middleware for Slim4 framework to configure proper uri schema. Usage is very simple, just enable this Middleware (in the Middleware part of your Slim4 Project) with:

<?php

use PerSeo\Middleware\ForwardedProto\ForwardedProto;

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

Simple, isn't it?