Doctrine support for MySQL spatial types and functions

2.0.1 2021-03-17 13:03 UTC

This package is auto-updated.

Last update: 2021-10-17 14:31:19 UTC


Latest Version on Packagist Software License Build Status

Doctrine support for spatial types and functions for MySQL.


Via Composer

$ bcremer/doctrine-mysql-spatial

Supported Versions

      - "7.4"
      - "8.0"
      - "5.7"
      - "8.0"

Project origins

This project was forked from creof/doctrine2-spatial by Derek J. Lambert. The origin project seems to be non-active since 2017.

I stripped down this fork to just support recent PHP and MySQL versions. I do not plan to re-introduce support for other Platforms than (Oracle/Percona) MySQL.

  • Removed support for PostgreSQL
  • Removed support for PHP Versions < 7.4
  • Removed support for MySQL Versions < 5.7
  • Removed travis-ci build
  • Introduced github actions
  • Added support for PHP 8.0
  • Added support for MySQL 8
  • Changed project namespace from CrEOF\Spatial to Bcremer\Spatial
  • Changed composer package name to bcremer/doctrine-mysql-spatial


The MIT License (MIT). Please see License File for more information.