monicahq/laravel-cloudflare
Laravel middleware that automatically trusts Cloudflare proxy IP ranges so client IPs and forwarded headers are handled correctly. Drop-in replacement for Laravel’s TrustProxies, with an optional callback to customize how proxy lists are loaded.
This release also reduce the source zip file removing useless files.
Many thanks to @mvdnbrk for the contributions!
This version use now fideloper/proxy package as a backend to set trusted proxies See README.md file for a description about how to use it on an existing laravel application
Changelog:
First release
How can I help you explore Laravel packages today?