andritiana/mysql8-doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions
35,553
Install
composer require andritiana/mysql8-doctrine2-spatial
Latest Version:1.2.2
License:MIT
Last Updated:Dec 7, 2021
Links: GitHub  ·  Packagist
Maintainer: andritianamktech

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