Support the ongoing development of Laravel.io →
Session Blade Laravel
Last updated 7 months ago.
1
moderator Solution

Have you considered a package such as ua-parser/uap-php?

I'm not sure you can get the device explicitly, but it will do a lot of the heavy parsing for you and give you access to more granular information from the user agent.

1

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.