no.
laravel sits on a server. wifi devices sit in your house.
Is it possible to get wifi connected devices location with laravel?
no.
laravel sits on a server. wifi devices sit in your house.
You can have server at home.
@sr57 are you expecting your php app to poll your network interface and record connected devices?
Why not? Seems to be the question.
@sr57 Server at home

@sr57 xD
@sr57 From what I remember the cloud server building was poorly built
Maybe but how are you sure than the one you use is better?
Never put your eggs in the same basket (I had some servers in this OVH datacenter, but I lost nothing because they were backup on my home severs)
@sr57 Well, I've lost a pendrive and I've lost all of my data.
So now I keep things in online databases where I pay.
However, when you get to GB of data or Terabytes of data, I mean, are you meant to carry a box with you anywhere where you go. Or maybe use multiple services cloud databases instead as well.
I don't know. I've already lost some data. A lot actually... very sad but uf.
I suppose buy a box and keep data there at home, and don't store stuff on pendrive and don't take it away, and have two online separate services elsewhere to have a back-up. That way the data is bacedup three times, and three times more likely to get stolen maybe xD
Laravel is php and php has exec or system commands that can execute all system commands.
@sr57 Cannot say much, but not gonna lie you helped me the most :D
2 ways to understand your question as device refers to local (server) devices or distant (client) devices, I assume the first one since you cannot do the second.
You have two options
get the ip address and resolve to a (crude) location
ask the user for permission to geolocate them (which they may not agree to)
From the server, you cannot tell if the user is connected over wifi and even if you did, it would not tell you the location,
Usually, getting the geolocation of a user is done through Javascript (not a Laravel topic)
Here you can find a documentation regarding the JS Geolocation API https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
This thing has indeed to be done, at any moment, on the same side as the user.
Saying you should sniff network in order to get your users geolocation is a non-sense and is not legal in many countries... it's not even pratically feasible in much cases. ;)
Please or to participate in this conversation.