# Doctrine Spatial 6.0

A new major version of Doctrine Spatial, which adds spatial types and functions to Doctrine on several database platforms, now including SQL Server.

Version 6.0 adds full support for SQL Server 2017 and later. It needs PHP 8.4 and Doctrine ORM 3.6. The SpBuffer functions for MariaDB and MySQL are removed. A new ScBuffer function replaces them.

- Made by: [Alexandre Tranchant](https://github.com/Alexandre-T)
- Shipped: 12/09/2026
- Date from: [release](https://github.com/longitude-one/doctrine-spatial/releases/tag/6.0.0)
- Source: [github.com/longitude-one/doctrine-spatial](https://github.com/longitude-one/doctrine-spatial)
- Install: `composer require longitude-one/doctrine-spatial`
- Licence: MIT
- Stack: plain PHP
- Topics: Databases
- Checked: 06/11/2026
- Added: 06/11/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/doctrine-spatial-6-0/)
```

See more at [phplives.dev](https://phplives.dev)
