agencelimitless/doctrine2-spatial

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

2.0.0 2019-08-02 13:05 UTC

This package is auto-updated.

Last update: 2024-09-29 05:45:58 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",