Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1009 Bytes

installation.rst

File metadata and controls

30 lines (22 loc) · 1009 Bytes

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<accuracy> of conversions, you may wish to install one or more optional add-on datapacks:

  • php-coord/datapack-africa
  • php-coord/datapack-antarctic
  • php-coord/datapack-arctic
  • php-coord/datapack-asia
  • php-coord/datapack-europe
  • php-coord/datapack-northamerica
  • php-coord/datapack-oceania
  • php-coord/datapack-southamerica

The code for the core package and the datapacks is also available to download from GitHub

Requirements

PHPCoord v5 is compatible with PHP 8.0+