Download the PHP package akrabat/proxy-detection-middleware without Composer
On this page you can find all versions of the php package akrabat/proxy-detection-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download akrabat/proxy-detection-middleware
More information about akrabat/proxy-detection-middleware
Files in akrabat/proxy-detection-middleware
Download akrabat/proxy-detection-middleware
More information about akrabat/proxy-detection-middleware
Files in akrabat/proxy-detection-middleware
Vendor akrabat
Package proxy-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 proxy-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 proxy-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 proxy-detection-middleware with dependencies
PHP Build Version
Package Version
The package akrabat/proxy-detection-middleware contains the following files
Loading the files please wait ....