asykn/doctrine2-spatial

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

1.2.0 2017-07-13 16:48 UTC

This package is not auto-updated.

Last update: 2022-10-06 02:07:12 UTC


README

Build Status Code Climate Coverage Status Downloads Gitter

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

文档可以在以下链接找到:这里

composer.json

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

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


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