creof/doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions
3,414,890 273
Install
composer require creof/doctrine2-spatial
Latest Version:1.2.0
License:MIT
Last Updated:Jul 2, 2026
Links: GitHub  ·  Packagist
Maintainer: djlambert

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",

Related Packages

longitude-one/doctrine-spatial

Doctrine multi-platform support for spatial types and functions, compliant with...

1,746,834 91
andritiana/mysql8-doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions

41,235 0
jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

1,759,097 221