Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Proxy Laravel Package

fideloper/proxy

Laravel trusted proxy middleware that correctly detects HTTPS, host, and client IP behind load balancers and reverse proxies by handling X-Forwarded-* headers. Fixes URL generation and request data when running behind ELB, Cloudflare, Nginx, etc.

Deep Wiki
Context7

fideloper/proxy is a Laravel middleware package for correctly handling reverse proxies and load balancers (e.g., Nginx, HAProxy, ELB/Cloudflare). It ensures Laravel can trust forwarded headers so requests reflect the real client, protocol, and host—especially important when your app sits behind one or more proxies.

Use it to normalize request data and avoid issues like incorrect URL generation, mixed-content redirects, or wrong client IPs in logs.

  • Trust X-Forwarded-* headers for IP, host, and scheme
  • Supports configurable trusted proxies and networks
  • Fixes HTTPS detection and secure URL generation behind proxies
  • Improves accuracy of request logging and rate limiting
  • Drop-in Laravel integration via middleware
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport