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)
I notice that the fideloper/TrustedProxy
package is in the composer.json
; but can I use just one? Are they redundant?
Thank you for the clarification