NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1022 most downloaded on Packagist
Set trusted proxies for Laravel
Latest stable
4.4.2
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.3 years
Most releases are documented
notes for 16 of 23 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
23 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
As of Laravel 9, this package is in the core of Laravel and no longer needed. However some people use this package as a dependency in other cases. I'v
As of Laravel 9, this package is in the core of Laravel and no longer needed. However some people use this package as a dependency in other cases. I've tagged this release for those people!
See here for more info: https://github.com/fideloper/TrustedProxy/issues/152
Allow installation in Laravel 9
Allow installation in Laravel 9
This is likely not a breaking change for anyone.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
See #135
This is likely not a breaking change for anyone.
Laravel 8 uses the newer Symfony 5, but it seems like they haven't changed Trusted Proxy support in this major release.
Laravel 8 uses the newer Symfony 5, but it seems like they haven't changed Trusted Proxy support in this major release.
Nothing published for this version
Support for Laravel 6 (already done), and support for Laravel 7 dev.
Support for Laravel 6 (already done), and support for Laravel 7 dev.
Laravel will be moving to semver, with a next release of version 6. This will allow TrustedProxy to be installed on version 6 of Laravel.
Laravel will be moving to semver, with a next release of version 6. This will allow TrustedProxy to be installed on version 6 of Laravel.
See pr #124
Support for config set in .env via #117
Updated the code for support for Symfony 4's latest incarnation of Trusted Proxies.
Updated the code for support for Symfony 4's latest incarnation of Trusted Proxies.
Now supporting auto-discovery of Trusted Proxy package for Laravel 5.5
Now supporting auto-discovery of Trusted Proxy package for Laravel 5.5
PHP7 raised an warning when non-numeric values were used in bitwise operations (e.g. $foo | $bar where $foo or $bar was not a numeric value).
PHP7 raised an warning when non-numeric values were used in bitwise operations (e.g. $foo | $bar where $foo or $bar was not a numeric value).
This resulted in a thrown ErrorException within Laravel.
This fixes that by returning out of the function before the bitwise calculation is complete, under the assumption that that condition only happens when Symfony < 3.3.
Merged in PRs #70 and #73 to be compatible with Symfony 3.3, which adds a secondary parameter to the $request->setTrustedProxies() method.
Merged in PRs #70 and #73 to be compatible with Symfony 3.3, which adds a secondary parameter to the $request->setTrustedProxies() method.
Resources to read more:
setTrustedProxies in Symfony 3.2 vs 3.3Note: This package should be backwards compatible with Symfony 3.2 and a Laravel install using Symfony 3.2. Let me know ASAP if that's not the case for you.
Merged #66 to fix issues with older versions of Laravel
Merged #66 to fix issues with older versions of Laravel
Fixed whitespace (mixing tabs + spaces) via #63
Merged PR #52 to address possibility of multiple, chained proxies (e.g. a CDN and load balancer both in use). This correctly gets the end-user (client
Merged PR #52 to address possibility of multiple, chained proxies (e.g. a CDN and load balancer both in use). This correctly gets the end-user (client) IP address.
Documentation update/improvement
Thanks @GrahamCampbell and other contributors!
Note: Composer current sets the dependencies on Laravel ~5.0, let me know if you run into issue with this on newer Laravel.
Nothing published for this version
Fixing #21, allowing multiple client IP addresses when using the * wildcard proxy IP address.
Fixing #21, allowing multiple client IP addresses when using the * wildcard proxy IP address.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.