I have read a lot of about the best way to calculate the distance between two points position with Lat and Long (like Google Maps).
I have read this question very close to my own question that offers a MySQL Query Solution (link), I have read about GeoTools PHP (link GitHub) and about GeoTools Laravel (link GitHub) too.
In my own case, I have my current position like this:
37.754782, -122.425240
I have a lot of points stored in MySQL in the same format (about 1000K), and I need to obtain the 100 closest points to my current position (in meter or kilometers).
I would like to found a correct solution for Laravel REST API and MySQL, any ideas? Any suggest?
Thanks!!