Installation
The recommended way to install PHPCoord is to use Composer. From the command line simply execute the following to add
php-coord/php-coord to your project’s composer.json file. Composer will automatically take care of downloading the source
and configuring an autoloader:
composer require php-coord/php-coord
For increased accuracy of conversions, you may wish to install one or more optional add-on datapacks:
php-coord/datapack-africaphp-coord/datapack-antarcticphp-coord/datapack-arcticphp-coord/datapack-asiaphp-coord/datapack-europephp-coord/datapack-northamericaphp-coord/datapack-oceaniaphp-coord/datapack-southamerica
The code for the core package and the datapacks is also available to download from GitHub
Requirements
PHPCoord v4 is compatible with PHP 7.3+