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).
5.0.5
1.9M downloads/mo
#2540 most downloaded on Packagist
longitude-one/doctrine-spatial
What this package is like to depend on
Last release today
23 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.2 years
Most releases are documented
notes for 12 of 15 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
21 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
17 releases · Jun 2021 to Aug 2026Releases
latest 21-
5.0.523 Aug 2026Release notes
Open source →What's Changed
- Replacing coveralls.io by codecov.io by @Alexandre-T in #144
- feat: openup versions available without breaks by @shakaran in #134
- Fix/security updates by @Alexandre-T in #146
- fix: update phpunit dependencies in composer.json by @Alexandre-T in #147
- fix: update codecov action to use specific clover.xml file by @Alexandre-T in #156
- feat: apply if isset to coalescing by @shakaran in #136
- fix: update dg/bypass-finals version constraint to be less than 1.11 by @Alexandre-T in #159
- fix: update GeometryWalker and OrmTestCase for compatibility with Doctrine ORM 4.0 by @Alexandre-T in #160
New Contributors
Full Changelog: 5.0.4...5.0.5
-
5.0.417 Jul 2025Release notes
Open source →What's Changed
- Mr 97 : Support for MariaDB by @PowerKiKi in #117
- Copyright 2025 by @Alexandre-T in #114
- Bump starlette from 0.37.2 to 0.40.0 in /docker/sphinx by @dependabot[bot] in #109
- Bump jinja2 from 3.1.4 to 3.1.5 in /docker/sphinx by @dependabot[bot] in #116
- Bump urllib3 from 2.2.2 to 2.5.0 in /docker/sphinx by @dependabot[bot] in #126
- Bump jinja2 from 3.1.5 to 3.1.6 in /docker/sphinx by @dependabot[bot] in #129
- Bump requests from 2.32.0 to 2.32.4 in /docker/sphinx by @dependabot[bot] in #125
- Bump h11 from 0.14.0 to 0.16.0 in /docker/sphinx by @dependabot[bot] in #120
- Remove ext-json since included in php by @lacatoire in #124
- Fix/122 by @Alexandre-T in #130
- Remove version specification from docker-compose.yaml by @Alexandre-T in #131
- Fix/issue 123 and upgrade quality tools by @Alexandre-T in #132
New Contributors
- @lacatoire made their first contribution in #124
Full Changelog: 5.0.3...5.0.4
Release notes
Open source →Version 5.0.4 improved contributor and CI tooling rather than changing the public spatial API. It added explicit container platforms for PostGIS and MySQL, corrected Docker and installation instructions, added repository attributes, removed the redundant
ext-jsonrequirement, and updated PHP CodeSniffer, PHP CS Fixer, PHP Mess Detector, PHPStan, and their dependencies. The release also incorporated MariaDB support work from the main branch. -
5.0.315 Nov 2024Release notes
Open source →What's Changed
- PHPDOC optimized by @Alexandre-T in #90
- Bump certifi from 2024.2.2 to 2024.7.4 in /docker/sphinx by @dependabot in #92
- Microsoft SQL Server Feature by @Alexandre-T in #93
- Unknown type feature by @Alexandre-T in #98
- Fix broken link by @holtkamp in #101
- Fix the version of quality tools by @Alexandre-T in #107
- Description upgraded by @Alexandre-T in #106
- Standard function are not compatible if specialized functions exist by @PowerKiKi in #104
- Holtkamp patch srid 2nd argument by @Alexandre-T and @holtkamp in #111
New Contributors
- @holtkamp made their first contribution in #101
- @PowerKiKi made their first contribution in #104
Full Changelog: 5.0.2...5.0.3
Release notes
Open source →Version 5.0.3 extended
ST_SRID()support to accept two parameters. It added a PostgreSQL-specific SRID function, deprecated use of the standard SRID function on PostgreSQL, and included tests for the new behaviour and the emitted deprecations. -
5.0.229 Jun 2024Release notes
Open source →What's Changed
- Throw deprecations when developers don't use next gen standard constr… by @Alexandre-T in #82
- PointInterface: removing all internal calls with array as a constructor. by @Alexandre-T in #84
- Unit test the getName, getSQLType and getBindingType methods. by @Alexandre-T in #85
- Bump urllib3 from 2.2.1 to 2.2.2 in /docker/sphinx by @dependabot in #86
- IsClosed no more fail when LineString is empty by @Alexandre-T in #89
Full Changelog: 5.0.1.RC...5.0.2
Release notes
Open source →Version 5.0.2 addressed a false positive that reported the SQL Server platform as unavailable. The surrounding maintenance work also covered an edge case in
isClosedfor empty line strings, documentation adjustments, and quality-tool baseline updates, keeping the patch focused on reliable platform detection and regression coverage. -
5.0.129 May 2024Release notes
Open source →What's Changed
- V5 Released by @Alexandre-T in #70
- docker service doc is broken #71 by @Alexandre-T in #73
- 72 GitHub actions the
set-outputcommand is deprecated by @Alexandre-T in #74 - Bump requests from 2.31.0 to 2.32.0 in /docker/sphinx by @dependabot in #78
- 75-critical-unexpected-conversion-when-storing-$x-and-$y by @Alexandre-T in #80
- Fix #79 by @Alexandre-T in #80
- Fix #76 by @Alexandre-T in #80
- Fix #77 by @Alexandre-T in #80
New Contributors
- @dependabot made their first contribution in #78
Full Changelog: 5.0.0...5.0.1.RC
Release notes
Open source →Version 5.0.1 corrected an unexpected conversion of coordinate values while storing points. It also separated geodetic and Cartesian coordinates through new interfaces, introduced an internal
RangeException, resolved the related issues, and refined CI so that duplicate checks are avoided across pushes and pull requests. -
5.0.012 May 2024Release notes
Open source →What's Changed
- Update copyrights and fix #44 by @Alexandre-T in #45
- Composer upgrade feature by @Alexandre-T in #47
- Doctrine3 feature by @Alexandre-T in #55
- Issue #57 fixed by @Alexandre-T in #59
- Quality tools feature by @Alexandre-T in #61
- Ecologic feature by @Alexandre-T in #63
- Specify return types by @Alexandre-T in #56
- Issue #65 by @Alexandre-T in #66
- Return types mentioned by @Alexandre-T in #67
Full Changelog: 4.0.0...5.0.0
Release notes
Open source →Version 5.0.0 focused on compatibility with modern Doctrine ORM versions: it added support for Doctrine ORM 2.19 and 3.1, with testing also performed against the 3.2 and 4.0 development lines. The release upgraded Composer, PHPUnit, parsers, GitHub Actions, and the quality-tool suite; removed deprecated APIs; strengthened the test harness and coverage workflow; and introduced interfaces and return types that prepared the library for later releases.
-
4.0.004 Jun 2023Release notes
Open source →Version 4.0.0 modernized the parsing layer by adopting
longitude-one/wkt-parserand subsequently pinning it to the 1.0 release. It removed support for PHP 7.4 and PHP 8.0, migrated test fixtures from annotations to attributes, improved cross-platform floating-point tests, and refreshed the CI and code-quality configuration. These changes established the technical baseline for the 4.x series. -
4.0.0-rc2no date pre-releaseNothing published for this version
-
4.0.0-rc111 May 2023 pre-releaseNothing published for this version
-
3.0.215 Feb 2022Release notes
Open source →Added
- longitude-one/doctrine-spatial replaces CrEOF/doctrine2-spatial
- Support of PHP8.0
- Support for Postgis2.1, PostGis3.0, PostGis3.1
- Namespaces have been updated from CrEOF/Spatial to LongitudeOne/Spatial
- Github actions added for our internal test
Removed
- Removing support of PHP7.2, PHP7.3
- Removing compatibility with Postgis 2.0. Some spatial functions have been renamed to their new names (example: ST_Line_Interpolate_Point has been renamed to ST_Line_Interpolate_Point).
- Removing test on Travis
-
3.0.120 Jan 2022Nothing published for this version
-
3.0.018 Jul 2021Nothing published for this version
-
3.0.0-RC4no date pre-releaseNothing published for this version
-
3.0.0-RC330 Jun 2021 pre-releaseNothing published for this version
-
3.0.0-RC223 Jun 2021 pre-releaseNothing published for this version
-
3.0.0-RC118 Jun 2021 pre-releaseNothing published for this version
-
5.0.1.RCno dateRelease notes
Open source →What's Changed
- V5 Released by @Alexandre-T in #70
- docker service doc is broken #71 by @Alexandre-T in #73
- 72 GitHub actions the
set-outputcommand is deprecated by @Alexandre-T in #74 - Bump requests from 2.31.0 to 2.32.0 in /docker/sphinx by @dependabot in #78
- 75-critical-unexpected-conversion-when-storing-$x-and-$y by @Alexandre-T in #80
- Fix #79 by @Alexandre-T in #80
- Fix #76 by @Alexandre-T in #80
- Fix #77 by @Alexandre-T in #80
New Contributors
- @dependabot made their first contribution in #78
Full Changelog: 5.0.0...5.0.1.RC
-
5.0.0.RC4no dateRelease notes
Open source →If no issues are reported, the 5.0.0 will be released on May 15th.
What's Changed
- Return types mentioned for each method by @Alexandre-T in #67
- Unexpected file removed
- Installed libraries showed in Github Action
- Remove no-longer existing error in baseline
- Remove no-longer used libraries in composer
Full Changelog: 5.0.0.RC3...5.0.0.RC4
-
5.0.0.RC311 May 2024Release notes
Open source →If no issues are reported, the 5.0.0 will be released on May 15th.
What's Changed
- Issue #65 by @Alexandre-T in #66
- Ecologic feature when deploying on Github
- Php-Stan activated and done in the 9th level.
Full Changelog: 5.0.0.RC2...5.0.0.RC3
-
5.0.0.RC210 May 2024Release notes
Open source →What's Changed
- Update copyrights and fix #44 by @Alexandre-T in #45
- Composer upgrade feature by @Alexandre-T in #47
- Doctrine3 feature by @Alexandre-T in #55
- Issue #57 fixed by @Alexandre-T in #59
- Quality tools feature by @Alexandre-T in #61
- Ecologic feature by @Alexandre-T in #63
- Specify return types and PHP-Stan by @Alexandre-T in #56
Full Changelog: 4.0.0...5.0.0.RC2
-
5.0.0.RC11 Mar 2024Nothing published for this version