fideloper/proxy
Laravel middleware for trusting reverse proxies and correctly handling forwarded headers (X-Forwarded-For/Proto/Host/Port). Ensures accurate client IP and HTTPS detection when running behind load balancers like ELB, Nginx, or Cloudflare.
X-Forwarded-For handling).Adopt if:
X-Forwarded-* parsing).url() helper, redirects) behind proxies.Look elsewhere if:
For Executives: *"This package solves a critical but invisible problem: ensuring our Laravel app correctly identifies real users and secure connections when traffic flows through proxies like Cloudflare or AWS. Without it, we risk:
For Engineering Teams: *"fideloper/proxy is the de facto standard for Laravel proxy handling (7K+ stars, used by Laravel itself). Key wins:
X-Forwarded-* logic with one config file.http:// redirects on https:// sites.How can I help you explore Laravel packages today?