creof / doctrine2-spatial
Doctrine2 multi-platform support for spatial types and functions
Installs: 2 376 853
Dependents: 13
Suggesters: 0
Security: 0
Stars: 266
Watchers: 20
Forks: 163
Open Issues: 52
Requires
- creof/geo-parser: ~2.0
- creof/wkb-parser: ~2.0
- creof/wkt-parser: ~2.0
- doctrine/orm: >=2.3
Requires (Dev)
- phpunit/phpcov: *
- phpunit/phpunit: <5.0
- satooshi/php-coveralls: ~1.0
This package is auto-updated.
Last update: 2023-05-06 21:30:46 UTC
README
Doctrine2 multi-platform support for spatial types and functions. Currently MySQL and PostgreSQL with PostGIS are supported. Could potentially add support for other platforms if an interest is expressed.
Documentation can be found at here
composer.json
{ "require": { ... "creof/doctrine2-spatial": "~1"
You will also have to change the version requirement of doctrine to at least 2.3:
"doctrine/orm": ">=2.3",