/doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions.

Primary LanguagePHPMIT LicenseMIT

Doctrine2-Spatial

Build Status Code Climate Coverage Status Downloads Gitter

Doctrine2 multi-platform support for spatial types and functions. Currently MySQL and PostgreSQL with PostGIS are supported. Could potentially add support for other platforms if an interest is expressed.

Documentation can be found at here

composer.json

{
    "require": {
    	...
        "creof/doctrine2-spatial": "~1"

You will also have to change the version requirement of doctrine to at least 2.3:

        "doctrine/orm": ">=2.3",