拖鲁尔/doctrine2-spatial

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

1.2.7 2020-07-12 13:14 UTC

This package is not auto-updated.

Last update: 2024-09-30 09:38:45 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",