New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

creof/doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions
3,510,931 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

andritiana/mysql8-doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions

46,890 0
longitude-one/doctrine-spatial

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

2,159,848 91
jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

1,900,142 221
dunglas/doctrine-json-odm

An object document mapper for Doctrine ORM using JSON types of modern RDBMS.

6,332,600 630
pomm-project/model-manager

PHP Object Model Manager for Postgresql

294,562 66

Version History

Version Released License
1.2.0 MIT
1.1.1 MIT
1.1 MIT
1.0.1 MIT
1.0.0 MIT