Laravel: Get the Real IP from the cloudflare
How to get the real IP behind the cloudflare proxy? Easy
class ReplaceCloudflareIp
{
/**
* Handle an incoming request.
*
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
*/
...
igorweb.hashnode.dev1 min read