creof / doctrine2-spatial
Doctrine2 multi-platform support for spatial types and functions
Installs: 2 975 173
Dependents: 12
Suggesters: 0
Security: 0
Stars: 272
Watchers: 19
Forks: 175
Open Issues: 55
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: 2024-11-20 14:33:13 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",