NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3911 most downloaded on Packagist
Spatial and Geographic Data with PostGIS and Doctrine.
Last release 12 months ago
09 Oct 2025
Release timing varies
gaps range from 3 weeks to 3.1 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
17 releases · first in 2015
Fixed POINT notation in README by @cheack in #71
Full Changelog: v2.3.0...v2.4.0
One column per quarter.
Switch to platform options from deprecated custom schema options. Thanks @sasa-b ( #64 ).
Make handling create table sql simple and robust. Reuse native Platform::getCreateTableSQL() instead of copying the code from Doctrine.
Remove persistent Connection/SchemaManager instance from event listeners. The event listeners now always use the connection instance provided by the e
New major release which introduces a new dependency version support matrix.
| Dependency | Supported Versions |
|---|---|
| PHP | ^8.0 |
| PostGIS | 3.0 and 3.1 |
| PostgreSQL | 11, 12 and 13 |
| Doctrine ORM | ^2.9 |
| Doctrine DBAL | ^2.13 and ^3.1 |
The following DQL functions have been removed, mostly because they are also no longer available in PostGIS:
ST_MakeBox3D (use ST_3DMakeBox instead)ST_AsKMLST_Distance_Sphere (use ST_DistanceSphere instead)ST_Distance_Spheroid (use ST_DistanceSpheroid instead)ST_Length3D (use ST_3DLength instead)ST_Length_Spheroid (use ST_LengthSpheroid instead)ST_Length2D_SpheroidST_Shift_Longitude (use ST_ShiftLongitude instead)The dummy RasterType has been removed. Register a custom type mapping
instead, e.g. $platform->registerDoctrineTypeMapping('raster', 'string').
Add parameter and return type declarations.
Switch from Travis CI to GitHub Actions for running CI pipeline.
Add Docker setup to allow running tests against the different supported PostgreSQL / PostGIS versions.
New major release which introduces a new dependency version support matrix.
New major release which introduces a new dependency version support matrix.
| Dependency | Supported Versions |
|---|---|
| PHP | ^8.0 |
| PostGIS | 3.0 and 3.1 |
| PostgreSQL | 11, 12 and 13 |
| Doctrine ORM | ^2.9 |
| Doctrine DBAL | ^2.13 and ^3.1 |
The following DQL functions have been removed, mostly because they are also no
longer available in PostGIS:
ST_MakeBox3D (use ST_3DMakeBox instead)ST_AsKMLST_Distance_Sphere (use ST_DistanceSphere instead)ST_Distance_Spheroid (use ST_DistanceSpheroid instead)ST_Length3D (use ST_3DLength instead)ST_Length_Spheroid (use ST_LengthSpheroid instead)ST_Length2D_SpheroidST_Shift_Longitude (use ST_ShiftLongitude instead)The dummy RasterType has been removed. Register a custom type mapping
instead, e.g. $platform->registerDoctrineTypeMapping('raster', 'string').
Add parameter and return type declarations.
Switch from Travis CI to GitHub Actions for running CI pipeline.
Add Docker setup to allow running tests against the different supported
PostgreSQL / PostGIS versions.
This release now allows installation on PHP 8.
This release now allows installation on PHP 8.
Note: While it is possible to install this library on PHP 8, it is not officially support right now. Use with care and at your own risk.
This release drops support for the EOL versions of PHP 5.3, 5.4 and 5.5.
…object. This prevents triggering a deprecation error for DBAL >= 2.7. Thanks @simonwelsh ( #38 ).
primary option when creating the Doctrine\DBAL\Schema\Column object. This prevents triggering a deprecation error for DBAL >= 2.7. Thanks @simonwelsh (#38).Those functions should be used in PostGIS 2.2 and onwards instead of the deprecated functions ST_Distance_Sphere , ST_Distance_Spheroid and ST_Length_…
ST_DistanceSphere, ST_DistanceSpheroid and ST_LengthSpheroid. Those functions should be used in PostGIS 2.2 and onwards instead of the deprecated functions ST_Distance_Sphere, ST_Distance_Spheroid and ST_Length_Spheroid. Thanks to @JunkMyFunk for the report (#32).Fix: Ensure SRID values from metadata are casted to int to prevent unecessary schema diffs when using XML mappings. Thanks to @HenningCash for the rep
Feature: New function ST_AddPoint. Thanks @ltsstar (#26).
ST_AddPoint. Thanks @ltsstar (#26).
Geography.Feature: New function Geometry. Thanks @dragosprotung (#22).
Geometry. Thanks @dragosprotung (#22).Feature: New function ST_SnapToGrid. Thanks @dragosprotung (#21).
ST_SnapToGrid. Thanks @dragosprotung (#21).Fix: Fix handling of table and column names using reserved words. Thanks to @maximilian-walter for reporting (#19).
Fix: The event subscribers now allow multiple calls to postConnect for the same connection instance. This is done by MasterSlaveConnection for example
postConnect for the
same connection instance. This is done by MasterSlaveConnection for example
when switching master/slave connections. Thanks to @gcavana for reporting,
patch courtesy of @NoiseByNorthwest in #17.Feature: New raster DBAL type. Note: This type is not suited to be used in entity mappings. It just prevents "Unknown database type..." exceptions thr
* First stable release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →