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.

Installs: 55

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/per-seo/forwarded-proto

1.0 2024-11-22 09:27 UTC

This package is auto-updated.

Last update: 2025-09-22 11:29:59 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?