{"id":20978057,"url":"https://github.com/longitude-one/doctrine-spatial","last_synced_at":"2025-04-07T07:14:41.735Z","repository":{"id":43756753,"uuid":"377409041","full_name":"longitude-one/doctrine-spatial","owner":"longitude-one","description":"Doctrine extension to persist spatial data objects. ","archived":false,"fork":false,"pushed_at":"2024-04-13T07:22:12.000Z","size":646,"stargazers_count":56,"open_issues_count":11,"forks_count":16,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-04-14T04:07:32.505Z","etag":null,"topics":["doctrine","extension","postgis","spatial-data"],"latest_commit_sha":null,"homepage":"https://lo-doctrine-spatial.readthedocs.io/en/latest/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/longitude-one.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/Contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-06-16T07:28:20.000Z","updated_at":"2024-05-10T20:20:17.383Z","dependencies_parsed_at":"2023-09-25T06:47:26.931Z","dependency_job_id":"ea1658c7-eade-48ad-8bf1-afa19372c20b","html_url":"https://github.com/longitude-one/doctrine-spatial","commit_stats":{"total_commits":109,"total_committers":6,"mean_commits":"18.166666666666668","dds":0.3853211009174312,"last_synced_commit":"ccb069b97359d811679491f68581f7164e077286"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longitude-one%2Fdoctrine-spatial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longitude-one%2Fdoctrine-spatial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longitude-one%2Fdoctrine-spatial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longitude-one%2Fdoctrine-spatial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longitude-one","download_url":"https://codeload.github.com/longitude-one/doctrine-spatial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608153,"owners_count":20965952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["doctrine","extension","postgis","spatial-data"],"created_at":"2024-11-19T05:04:08.346Z","updated_at":"2025-04-07T07:14:41.707Z","avatar_url":"https://github.com/longitude-one.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doctrine-Spatial\nDoctrine-spatial is a doctrine extension. It implements spatial types and functions. \n*As exemple, this extension can help you to know if your favorite superheroes is inside Gotham city.*\n\nCurrently, MySQL and PostgreSQL with PostGIS are supported. \nCould potentially add support for other platforms if an interest is expressed.\n\n## Current status\n![longitude-one/doctrine--spatial](https://img.shields.io/badge/longitude--one-doctrine--spatial-blue)\n![Stable release](https://img.shields.io/github/v/release/longitude-one/doctrine-spatial)\n![Minimum PHP Version](https://img.shields.io/packagist/php-v/longitude-one/wkt-parser.svg?maxAge=3600)\n[![Packagist License](https://img.shields.io/packagist/l/longitude-one/doctrine-spatial)](https://github.com/longitude-one/doctrine-spatial/blob/main/LICENSE)\n\n[![Last integration test](https://github.com/longitude-one/doctrine-spatial/actions/workflows/full.yaml/badge.svg)](https://github.com/longitude-one/doctrine-spatial/actions/workflows/full.yaml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/92b245a85ab4fbaca5d2/maintainability)](https://codeclimate.com/github/longitude-one/doctrine-spatial/maintainability)\n[![Downloads](https://img.shields.io/packagist/dm/longitude-one/doctrine-spatial.svg)](https://packagist.org/packages/longitude-one/doctrine-spatial)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/92b245a85ab4fbaca5d2/test_coverage)](https://codeclimate.com/github/longitude-one/doctrine-spatial/test_coverage)\n[![Documentation Status](https://readthedocs.org/projects/lo-doctrine-spatial/badge/?version=main)](https://lo-doctrine-spatial.readthedocs.io/en/main/?badge=main)\n\nDocumentation \n-------------\n\nThe [documentation](https://doctrine-spatial.readthedocs.io) explain how to:\n\n* install this doctrine extension,\n* configure this extension,\n* create spatial entities,\n* use spatial functions in your repositories,\n* contribute (and test)\n\nThe documentation contains a glossary of all available types and all available spatial functions.\n\n## Project origins\nThis useful library was created by Derek J. Lambert. \nAlexandre Tranchant forked it from [creof/doctrine-spatial](https://github.com/creof/doctrine2-spatial)\nbecause project seems to be non-active since 2017.\n\nThe longitude-one/doctrine-spatial repository employs a well-structured branching strategy:\n\n* main: Stable 5.0 releases, bug fixes and minor new features (no backward incompatibilities).\n* 6.0.x-dev: Major new features (**potential** backward incompatibilities).\n* 5.1.x-dev: Controlled deprecations for a smooth 5.1 to 6.0 transition (no backward incompatibilities).\n\nThis approach ensures clarity, stability, and maintainability for the project.\n\nCompatibility\n-------------\n### PHP and Doctrine ORM\nThis Doctrine extension is compatible with PHP 8.1+ and Doctrine ORM versions `^2.9`, `^3.1`, and aims for continued compatibility with the upcoming major version `^4.x-dev`.\nSecurity fixes will follow the [PHP Roadmap](https://www.php.net/supported-versions.php).\n\n### MySQL 5.7 and 8.0\nMySQL5.7 is supported, but is deprecated.\nMySQL8.0 is supported.\n\nKnown Limitation: `longitude-one/doctrine-spatial` CANNOT store SRID on MySQL. Internally, this extension uses Well Known Text to convert internal types to database type. As `doctrine/orm` does not allow custom persister nor collection persister, we cannot provide two parameters (WKT and SRID). Extented Well Known Text (EWKT) is used to convert internal types to databases but EWKT is only supported by Postgis. I'm trying a new solution: create an external Well Known Bytes converter to be able to use it `convertToDatabaseValue` methods of `doctrine/orm` and `longitude-one/doctrine-spatial`.\n\n### PostgreSQL\nThis spatial library is compatible with PostgreSql. \nThis library is tested with the last versions of Postgis and PostgreSql.\n\n## Help wanted\n\n**Microsoft SQL Server**\nI'm searching help to create a docker delivering a Microsoft SQL Server service. So I'll be able to implement\ncompatibility with this database server.\n\n**MariaDB**\nI'm searching help to create a Github action delivering a MariaDB service, to launch test and determine if\nthis library is compatible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongitude-one%2Fdoctrine-spatial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongitude-one%2Fdoctrine-spatial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongitude-one%2Fdoctrine-spatial/lists"}