brick / geo-doctrine
Doctrine types & functions for brick/geo
Fund package maintenance!
BenMorel
Installs: 27 236
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 4
Open Issues: 4
Requires
- php: ^8.1
- brick/geo: ~0.10.0 || ~0.11.0
- doctrine/orm: ^2.8
Requires (Dev)
- doctrine/annotations: ^1.0
- doctrine/cache: ^1.11
- doctrine/data-fixtures: ^1.0
- guzzlehttp/guzzle: ^7.0
- php-coveralls/php-coveralls: ^2.7
- phpunit/phpunit: ^10.5
- vimeo/psalm: 5.21.1
This package is auto-updated.
Last update: 2024-11-07 21:45:24 UTC
README
Doctrine types & functions for brick/geo
Introduction
This library provides:
- type mappings to use
brick/geo
objects such asPolygon
as 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.1.
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.3.*
.
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