{"repo":"jsor/doctrine-postgis","free":true,"listed":false,"github":"https://github.com/jsor/doctrine-postgis","clone":"git clone https://github.com/jsor/doctrine-postgis.git","description":"Spatial and Geographic Data with PostGIS and Doctrine.","language":"PHP","stars":221,"topics":["php","doctrine","postgis","postgres","postgresql","spatial","database","geometry","geography"],"license":"MIT","category":"databases-storage","readme_excerpt":"PostGIS extension for Doctrine ============================== This library allows you to use Doctrine (ORM or DBAL) with PostGIS, the spatial database extension for PostgreSQL. Supported Versions Installation Setup Symfony Property Mapping Spatial Indexes Schema Tool DQL Functions Known Problems Running the Tests Supported Versions -- The following table shows the versions which are officially supported by this library. Dependency Supported Versions :-------------- :------------------- PostGIS = 3.2 PostgreSQL = 14 Doctrine ORM ^2.19 and ^3.0 Doctrine DBAL ^3.7 and ^4.0 Installation -- Install the latest version with Composer. Check the Packagist page for all available versions. Setup -- Basic setup requires registering Middleware and the SchemaManagerFactory via the DBAL connection configuration. Additionally, to also use the library with the Doctrine ORM, register the ORMSchemaEventListener event subscriber. Symfony For integrating this library into a Symfony project, read the dedicated Symfony Documentation. Property Mapping -- Once the event subscriber is registered, the column types geometry and geography can be used in property mappings (please read the PostGIS docs to understand the difference between these two types). There are 2 options to configure the geometry. geometry type This defines the type of the geometry, like POINT , LINESTRING etc. If you omit this option, the generic type GEOMETRY is used. srid This defines the Spatial Reference System Identifier (SRID) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jsor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jsor/doctrine-postgis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}