PHPackages                             andritiana/mysql8-doctrine2-spatial - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. andritiana/mysql8-doctrine2-spatial

ActiveLibrary[Database &amp; ORM](/categories/database)

andritiana/mysql8-doctrine2-spatial
===================================

Doctrine2 multi-platform support for spatial types and functions

1.2.2(4y ago)034.7k↑41.2%MITPHP

Since Mar 17Pushed 4y agoCompare

[ Source](https://github.com/andritianamktech/mysql8-doctrine2-spatial)[ Packagist](https://packagist.org/packages/andritiana/mysql8-doctrine2-spatial)[ RSS](/packages/andritiana-mysql8-doctrine2-spatial/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (11)Used By (0)

Doctrine2-Spatial
=================

[](#doctrine2-spatial)

[![Build Status](https://camo.githubusercontent.com/37437e7bc4d42e6fe5fd750ff16882c7a4b97182f8f19ce58c5baadd0c1764f3/68747470733a2f2f7472617669732d63692e6f72672f6372656f662f646f637472696e65322d7370617469616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/creof/doctrine2-spatial)[![Code Climate](https://camo.githubusercontent.com/aea9209b15f096a02dd5c62187cdf16b02bf16976128e14ac67937c007dab0e8/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6372656f662f646f637472696e65322d7370617469616c2f6261646765732f6770612e737667)](https://codeclimate.com/github/creof/doctrine2-spatial)[![Coverage Status](https://camo.githubusercontent.com/a84b83b5b007c226bceb7099ce49d453c236d5557ba6304a23d1ce57c667a0be/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6372656f662f646f637472696e65322d7370617469616c2f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/creof/doctrine2-spatial?branch=master)[![Downloads](https://camo.githubusercontent.com/c067f2abb8e190b40df8f2c7b8df0815a57ce6da97705ea6262cb28161c6012f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6372656f662f646f637472696e65322d7370617469616c2e737667)](https://packagist.org/packages/creof/doctrine2-spatial)[![Gitter](https://camo.githubusercontent.com/df9d0c892139a505a554ad3feff70ec53a20705cfc256a23ab2826c5b7237b4a/68747470733a2f2f6261646765732e6769747465722e696d2f67697474657248512f6769747465722e737667)](https://gitter.im/creof/doctrine2-spatial)

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](./doc/index.md)

composer.json
-------------

[](#composerjson)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 70.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~353 days

Recently: every ~544 days

Total

9

Last Release

1623d ago

Major Versions

0.1 → 1.0.02015-11-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/63747ec3de318066c8e361c0d29a135e4115cd42495e3785364bc327724caa82?d=identicon)[andritianamktech](/maintainers/andritianamktech)

---

Top Contributors

[![djlambert](https://avatars.githubusercontent.com/u/1187338?v=4)](https://github.com/djlambert "djlambert (351 commits)")[![sadortun](https://avatars.githubusercontent.com/u/794449?v=4)](https://github.com/sadortun "sadortun (72 commits)")[![muka](https://avatars.githubusercontent.com/u/1021269?v=4)](https://github.com/muka "muka (20 commits)")[![tvogt](https://avatars.githubusercontent.com/u/2864852?v=4)](https://github.com/tvogt "tvogt (11 commits)")[![ddproxy](https://avatars.githubusercontent.com/u/105473?v=4)](https://github.com/ddproxy "ddproxy (9 commits)")[![dragosprotung](https://avatars.githubusercontent.com/u/1081073?v=4)](https://github.com/dragosprotung "dragosprotung (9 commits)")[![postHawk](https://avatars.githubusercontent.com/u/18420226?v=4)](https://github.com/postHawk "postHawk (5 commits)")[![derekcdw](https://avatars.githubusercontent.com/u/169203971?v=4)](https://github.com/derekcdw "derekcdw (5 commits)")[![hanego](https://avatars.githubusercontent.com/u/11038692?v=4)](https://github.com/hanego "hanego (4 commits)")[![andritianamktech](https://avatars.githubusercontent.com/u/36677588?v=4)](https://github.com/andritianamktech "andritianamktech (3 commits)")[![ktzouno](https://avatars.githubusercontent.com/u/1590019?v=4)](https://github.com/ktzouno "ktzouno (1 commits)")[![Charles-Emmanuel-DEZANDEE](https://avatars.githubusercontent.com/u/24267113?v=4)](https://github.com/Charles-Emmanuel-DEZANDEE "Charles-Emmanuel-DEZANDEE (1 commits)")[![damianociarla](https://avatars.githubusercontent.com/u/2201712?v=4)](https://github.com/damianociarla "damianociarla (1 commits)")[![david-pacheco](https://avatars.githubusercontent.com/u/7070581?v=4)](https://github.com/david-pacheco "david-pacheco (1 commits)")[![0xC0D3D00D](https://avatars.githubusercontent.com/u/2244181?v=4)](https://github.com/0xC0D3D00D "0xC0D3D00D (1 commits)")[![masayuki14](https://avatars.githubusercontent.com/u/2756405?v=4)](https://github.com/masayuki14 "masayuki14 (1 commits)")[![pamuche](https://avatars.githubusercontent.com/u/986531?v=4)](https://github.com/pamuche "pamuche (1 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (1 commits)")[![teohhanhui](https://avatars.githubusercontent.com/u/548843?v=4)](https://github.com/teohhanhui "teohhanhui (1 commits)")[![tgabi333](https://avatars.githubusercontent.com/u/187022?v=4)](https://github.com/tgabi333 "tgabi333 (1 commits)")

---

Tags

databaseormmysqlpostgresqldbalgeometrygeographyopengispostgisgisspatial

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/andritiana-mysql8-doctrine2-spatial/health.svg)

```
[![Health](https://phpackages.com/badges/andritiana-mysql8-doctrine2-spatial/health.svg)](https://phpackages.com/packages/andritiana-mysql8-doctrine2-spatial)
```

###  Alternatives

[creof/doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions

2763.3M11](/packages/creof-doctrine2-spatial)[longitude-one/doctrine-spatial

Doctrine multi-platform support for spatial types and functions, compliant with Doctrine 2.19, 3.1, and dev ones (3.2 and 4.0).

891.4M1](/packages/longitude-one-doctrine-spatial)[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[cycle/database

DBAL, schema introspection, migration and pagination

64690.9k31](/packages/cycle-database)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
