Distance helps you calculate the distance between GPS coordinates, in vanilla PHP. Pure and simple.
When using Composer you can always load in the latest version.
{
"require": {
"ldebrouwer/distance": "~0.2"
}
}
Check it out on Packagist.
This is still on the to-do list. The code is pretty well documented though and should autocomplete in most IDEs.
- Expanded unit support.
- Documentation.