0 votes

Get mac address in laravel 5.6

I would like to know if it is possible to obtain both the mac address of the device that uses my laravel application, and the browser with which they access it. From what I have read I can only get the mac address of my devices connected to the local network, is this true?

1voto

Aarón Gutiérrez Points 1422

That's right, you can't get the MAC address unless the client and server are within the same LAN.

To get the browser, there is a very good library that allows you to do what you want among other utilities:

https://github.com/jenssegers/agent

0 votes

Thank you very much for your reply The bookstore looks great!

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X