brick / geo-doctrine
Doctrine types & functions for brick/geo
Fund package maintenance!
BenMorel
Installs: 17 448
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: ^8.0
- brick/geo: ~0.8.0 || ~0.9.0
- doctrine/orm: ^2.8
Requires (Dev)
- doctrine/annotations: ^1.0
- doctrine/cache: ^1.11
- doctrine/data-fixtures: ^1.0
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^9.0
- vimeo/psalm: 4.28.0
This package is auto-updated.
Last update: 2023-09-01 20:17:44 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 7.4 or PHP 8.
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.1.*
.
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
Functions
Complete list here.