GitHunt
BC

bcremer/doctrine-mysql-spatial

Doctrine support for MySQL spatial types and functions

Doctrine MySQL Spatial Types

Latest Version on Packagist
Software License
Build Status

Doctrine support for spatial types and functions for MySQL.

Install

Via Composer

$ bcremer/doctrine-mysql-spatial

Supported Versions

  matrix:
    php-version:
      - "7.4"
      - "8.0"
    mysql-version:
      - "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

License

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

MIT License
Created December 15, 2020
Updated July 2, 2025
bcremer/doctrine-mysql-spatial | GitHunt