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
{
"require": {
...
"creof/doctrine2-spatial": ">=0.1"
You will also have to change the version requirement of doctrine to at least 2.3:
"doctrine/orm": ">=2.3",