Skip to content

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.

Notifications You must be signed in to change notification settings

per-seo/forwarded-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages