brick / geo-doctrine
Doctrine types & functions for brick/geo
Fund package maintenance!
0.6.0
2026-03-01 16:32 UTC
Requires
- php: ^8.2
- brick/geo: ~0.13.0
- doctrine/dbal: ^4.0
- doctrine/orm: ^3.0
Requires (Dev)
- ext-pdo: *
- doctrine/cache: ^1.11
- doctrine/data-fixtures: ^1.7
- guzzlehttp/guzzle: ^7.0
- phpunit/phpunit: ^11.5
- symfony/cache: ^5.0 || ^6.0 || ^7.0
- vimeo/psalm: 6.15.1
This package is auto-updated.
Last update: 2026-03-19 11:00:27 UTC
README
Doctrine types & functions for brick/geo
Introduction
This library provides:
- type mappings to use
brick/geoobjects such asPolygonas Doctrine entity properties - functions to use in DQL queries, such as
Distance()orContains().
Installation
This library is installable via Composer:
composer require brick/geo-doctrine
Requirements
This library requires PHP 8.2.
Project status & release process
The current releases are numbered 0.x.y. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), y is incremented.
When a breaking change is introduced, a new 0.x version cycle is always started.
It is therefore safe to lock your project to a given release cycle, such as 0.6.*.
If you need to upgrade to a newer release cycle, check the release history for a list of changes introduced by each further 0.x.0 version.
Package contents
Types
- GeometryCollectionType
- GeometryType
- LineStringType
- MultiLineStringType
- MultiPointType
- MultiPolygonType
- PointType
- PolygonType
