Registry / web-framework / fideloper-proxy

fideloper-proxy

JSON →
library4.4.2phppackagistunverified

Set trusted proxies for Laravel to handle requests behind load balancers.

composer require fideloper/proxy
INSTALL
IMPORT
SIG · FIDELOPER-PROXY
F
fideloper-proxy
web-frameworkphpv4.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TrustedProxyServiceProvider
use Fideloper\Proxy\TrustedProxyServiceProvider;

Register the TrustedProxy service provider in a Laravel application.

use Fideloper\Proxy\TrustedProxyServiceProvider; $provider = new TrustedProxyServiceProvider(app()); $provider->boot();
Debug
Known issues
gotchaLaravel 5.5+ includes built-in trusted proxy handling; this package may be redundant.
fix
Use Laravel's built-in TrustProxies middleware instead.
affects: >=4.0
Upgrade
Version history
4.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
fideloper-proxy — pip install fideloper-proxy · libregistry