philkingston/doctrine2-spatial

Doctrine2 多平台支持空间类型和函数

1.2.0 2017-07-13 16:48 UTC

This package is auto-updated.

Last update: 2024-09-10 21:36:54 UTC


README

Build Status Code Climate Coverage Status Downloads Gitter

Doctrine2 多平台支持空间类型和函数。目前支持MySQL和PostgreSQL(带PostGIS)。如果表达出兴趣,可能还会增加对其他平台的支持。

文档可以在这里找到

composer.json

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

您还需要将doctrine的版本要求更改为至少2.3

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