Download the PHP package akrabat/rka-scheme-and-host-detection-middleware without Composer
On this page you can find all versions of the php package akrabat/rka-scheme-and-host-detection-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download akrabat/rka-scheme-and-host-detection-middleware
More information about akrabat/rka-scheme-and-host-detection-middleware
Files in akrabat/rka-scheme-and-host-detection-middleware
Download akrabat/rka-scheme-and-host-detection-middleware
More information about akrabat/rka-scheme-and-host-detection-middleware
Files in akrabat/rka-scheme-and-host-detection-middleware
Vendor akrabat
Package rka-scheme-and-host-detection-middleware
Short Description PSR-7/PSR-15 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.
License BSD-3-Clause
Homepage http://github.com/akrabat/proxy-detection-middleware
Package rka-scheme-and-host-detection-middleware
Short Description PSR-7/PSR-15 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.
License BSD-3-Clause
Homepage http://github.com/akrabat/proxy-detection-middleware
Please rate this library. Is it a good library?
Informations about the package rka-scheme-and-host-detection-middleware
Proxy Scheme, Host and Port detection middleware
PSR-15 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.
You can set a list of proxies that are trusted as the second constructor parameter. If this list is set, then the proxy headers will only be checked if the REMOTE_ADDR
is in the trusted list.
Installation
composer require akrabat/proxy-detection-middleware
Usage
In Slim 3:
Testing
- Code coverage:
$ vendor/bin/phpcs
- Unit tests:
$ vendor/bin/phpunit
- Code coverage:
$ vendor/bin/phpunit --coverage-html ./build
All versions of rka-scheme-and-host-detection-middleware with dependencies
PHP Build Version
Package Version
The package akrabat/rka-scheme-and-host-detection-middleware contains the following files
Loading the files please wait ....