fideloper/proxy
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
illuminate/contracts | v9.52.16 | 67.37 kB | MIT | prod |
The Fideloper/Proxy composer package helps Laravel applications to manage their interaction with reverse proxies such as load balancers or caches. Utilizing trusted proxies ensures the correct generation of URLs, appropriate redirect handling, elegant session management, and effective logging when Laravel applications are operating behind these proxies. Fideloper/Proxy's functionality is especially useful when your web servers are situated behind load balancers, HTTP caches, or other intermediary proxies.
To use the Fideloper/Proxy in a Laravel application, you will need to install it via Composer. For Laravel versions 5.0 to 5.4, the installation command is composer require fideloper/proxy:^3.3
. For Laravel 4, use composer require fideloper/proxy:^2.0
. Please note, Laravel versions 5.5 and above already include this package, hence a separate installation is not required. Once installed, you can set trusted proxies and related configurations as per the needs of your application.
$ composer require fideloper/proxy:^3.3
for Laravel 5.0 to 5.4 or
$ composer require fideloper/proxy:^2.0
for Laravel 4
For detailed instructions and comprehensive understanding of Fideloper/Proxy, refer to the Laravel documentation specific to your Laravel version. You can find these at the official Laravel website, in the "requests" section under "configuring trusted proxies". The documentation for using Fideloper/Proxy in Laravel 4.0 - 5.4 is available on the package's GitHub Wiki. Refer to these resources to gain a solid understanding of how to configure trusted proxies and reap the benefits provided by this package.