fideloper/TrustedProxy
Laravel Proxy Package for handling sessions when behind load balancers or other intermediaries. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4873
- days_rel: n/a
- days_push: 967
- n_releases_24m: 0
Adoption not part of the score
7307 stars · 126 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Laravel package that configures trusted proxies so applications behind load balancers or reverse proxies correctly interpret X-Forwarded headers. It enables proper URL generation, redirects, session handling, and logging when requests pass through intermediaries like Nginx, HAProxy, ELB, CloudFlare, or Varnish.
Use cases
- fix incorrect URLs and redirects in Laravel behind a load balancer
- trust X-Forwarded-For headers from a known proxy IP
- handle sessions correctly when behind CloudFlare or Varnish
- get the real client IP in Laravel behind a reverse proxy
- make Laravel respect X-Forwarded-Proto for HTTPS detection
- configure trusted proxies for ELB or HAProxy
When to choose
- you run Laravel 4 through 8 behind a load balancer, CDN, or reverse proxy
- your Laravel app generates wrong URLs or sees the proxy IP instead of the client IP
When to avoid
- you use Laravel 9 or newer, which has trusted proxy support built into the framework
- your application is not Laravel/Symfony-based
Facets
library · maturity maintenance
middleware security http-server web-development backend security networking php self-hosted laravel reverse-proxy x-forwarded-headers load-balancer symfony web-server
1 source
- readme: https://github.com/fideloper/TrustedProxy · fetched 2026-08-28 · a9c49e17c238
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fideloper/TrustedProxy | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="fideloper/TrustedProxy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem