How to add IP Address, browser, OS into properties field ? #849
Unanswered
daivalentinenojs
asked this question in
General
Replies: 2 comments 2 replies
-
Did you find any solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi! For get an ip address you may use Laravel Request like use Illuminate\Http\Request;
public function getIp(Request $request): ?string
{
return $request->ip();
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try this code and put it in AppServiceProvider.php in boot() function
but it does not work ? Anyone can help me please with this issue ? How to add IP Address of the user during logging the activity. Thank you
Beta Was this translation helpful? Give feedback.
All reactions