Download the PHP package semhoun/proxy-detection-middleware without Composer
On this page you can find all versions of the php package semhoun/proxy-detection-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download semhoun/proxy-detection-middleware
More information about semhoun/proxy-detection-middleware
Files in semhoun/proxy-detection-middleware
Download semhoun/proxy-detection-middleware
More information about semhoun/proxy-detection-middleware
Files in semhoun/proxy-detection-middleware
Vendor semhoun
Package proxy-detection-middleware
Short Description PSR-7 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/semhoun/proxy-detection-middleware
Package proxy-detection-middleware
Short Description PSR-7 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/semhoun/proxy-detection-middleware
Please rate this library. Is it a good library?
Informations about the package proxy-detection-middleware
Proxy Scheme, Host and Port detection middleware
PSR-7 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 semhoun/proxy-detection-middleware
Usage
In Slim 4:
Testing
- Code coverage:
$ vendor/bin/phpcs
- Unit tests:
$ vendor/bin/phpunit
All versions of proxy-detection-middleware with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2 || ^8.0
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
The package semhoun/proxy-detection-middleware contains the following files
Loading the files please wait ....