Laravel - Requests - Request Ip Address

The ip method may be used to retrieve the IP address of the client that made the request to your application:

    
    $ipAddress = $request->ip();