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
1.4m articles
1.4m replys
5 comments
57.0k users