title: Calculate the distance between my current and other points in MySQL using Laravel
body: <p>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).</p>
  
  <p>I have read this question very close to my own question that offers a MySQL Query Solution (<a href="https://stackoverflow.com/questions/2234204/latitude-longitude-find-nearest-latitude-longitude-complex-sql-or-complex-calc">link</a>), I have read about GeoTools PHP (<a href="https://github.com/thephpleague/geotools#distance" rel="nofollow noreferrer">link GitHub</a>) and about GeoTools Laravel (<a href="https://github.com/toin0u/Geotools-laravel" rel="nofollow noreferrer">link GitHub</a>) too.</p>
  
  <p>In my own case, I have my current position like this: </p>
  
  <pre><code>37.754782, -122.425240
  </code></pre>
  
  <p>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).</p>
  
  <p>I would like to found a correct solution for Laravel REST API and MySQL, any ideas? Any suggest?</p>
  
  <p>Thanks!!</p>