Installation via composer

Add the longitude-one/doctrine-spatial package in your composer.json.

$ composer require longitude-one/doctrine-spatial

Or you can edit directly composer.json file by adding this line on your requirements:

"require": {
    "longitude-one/doctrine-spatial": "^3.0"

Be careful, the version 3.0.0 will only be available during summer 2021.

Installation without composer

If you’re not using composer, you can download the library. Then copy and paste the lib directory where you store all libraries of your application.

Installation to contribute

If you want to contribute, do not hesitate. Any help is welcomed. The simplest way is too fork the Github project, then to locally clone your forked project. The contribution page explains how to proceed and how to test your updates.