I need to implement Trusted Proxy but I'm confused between the PHP package fideloper/TrustedProxy (https://github.com/fideloper/TrustedProxy) and the app/Http/Middleware/TrustedProxies.php Middleware (https://laravel.com/docs/8.x/requests#configuring-trusted-proxies)
fideloper/TrustedProxy
app/Http/Middleware/TrustedProxies.php
I notice that the fideloper/TrustedProxy package is in the composer.json; but can I use just one? Are they redundant?
composer.json
Thank you for the clarification
2.1m questions
2.1m answers
60 comments
57.0k users