Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ALI_MURTAZA's avatar

Track dosctor's location using longitude and latitude in laravel with socket io

Can anyone guide me this ??? Track someone's location by socket io in laravel

0 likes
10 replies
Sinnbeck's avatar

Where did you read about socket ip having GPS capabilities? Or did you expect us to write a tutorial?

Maybe you should start with one tiny task at a time and ask for help with that?

Sinnbeck's avatar

@ALI_MURTAZA socket io is an implementation of websockets to send data from a server to a client or client to client. What data you send is up to you.

ALI_MURTAZA's avatar

@Sinnbeck I need to send client data to server then update that data in mysql db is this possible to guide me correct code

Sinnbeck's avatar

@ALI_MURTAZA that is a long list of seperate things to do, so no I cannot give you a full guide

  • design database
  • set up socket io
  • get GPS data
  • send correct data to laravel
  • write code to save data
  • etc

And why socketio? Is it a client that demands it?

Do you have coding experience or are you just creating this for fun? I notice you have watched 0 videos so far?

Sinnbeck's avatar

@ALI_MURTAZA ok. Read over the links and use the parts you can, and see what you can get working. When you have a specific problem, come back and ask. Right now it sounds a bit like you are asking us to give you a step-by-step guide

Sinnbeck's avatar

@ALI_MURTAZA people who already use laravel most often have seen at least a few videos on this site. But I assume you learned laravel from some other site which is ok too :)

Please or to participate in this conversation.