PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points
PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.
6982 different coordinate systems are supported, covering the entire globe. Some common systems supported include:Documentation and usage examples are available here.
If you use Composer, just add php-coord/php-coord
to your project's composer.json
file:
composer require php-coord/php-coord
Otherwise, the library is PSR-4 compliant, so will work with the autoloader of your choice.