$request->server('HTTP_USER_AGENT');
use dd($request); to see more
success
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I need to save the agent information in a database after a user logs in.
I grab the ip like this $request->ip();
How can I grab the user-gent data?
Please or to participate in this conversation.