All notable changes to laravel-eloquent-spatial
will be documented in this file.
Support PHP 8.2 #74
Add HasSpatial trait #75
- Cast geometry from array #71
- Add
Geometry@toSqlExpression
method #70
Macroable geometry classes
Add Doctrine types
Query Builder - Support column to have table name #61
Geometry objects are now stringable.
Support MySQL 5.7
- Add
whereNotWithin
Builder method - Add
whereNotContains
Builder method
Added MariaDB support
Fix axis-order
when using SRID
Refactor toWkt
- SRID support
- Add
Geometry@toWkt
- Add
Geometry@toWkb
- Fix generic type issue with
GeometryCollection
Make Geometry::toWkt
parameters optional
Improve casting:
- Fix
getOriginal
- Use a more standard WKT format
- Fix PHPStan issues
- Support Laravel 9
- Support PHP 8.1
- Remove auto-discovery part from composer.json
- Upgrade to PHP-CS-Fixer v3 and clear PHPStan issues
- Initial release