NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1642 most downloaded on Packagist
Spatial library for Laravel
Last release 4 months ago
08 Jun 2026
Ships unpredictably
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 42 of 43 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
43 releases · first in 2021
Make laravel/framework optional to support standalone Eloquent projects by @Smip in #148
laravel/framework optional to support standalone Eloquent projects by @Smip in #148Full Changelog: 4.7.0...4.8.0
laravel/framework optional to support standalone Eloquent projects by @Smip in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/148Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.7.0...4.8.0
One column per quarter.
Add Laravel 13 support by @MatanYadaev in #147
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.6.1...4.7.0
Add EWKT parsing support to fromWkt by @MatanYadaev in #145
Full Changelog: 4.6.0...4.6.1
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.6.0...4.6.1
Replace phayes/geophp with brick/geo by @MatanYadaev in #142
Full Changelog: 4.5.0...4.6.0
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.5.0...4.6.0
Laravel 12 upgrade by @MatanYadaev in #136
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.4.1...4.5.0
Fix WKT for empty geometry collections by @LachlanArthur in #132
Full Changelog: 4.4.0...4.4.1
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.4.0...4.4.1
Allow setting default SRID by @MatanYadaev in 43edde6
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.3.2...4.4.0
Fix SRID not being optional for expression in GeometryCast by @nickknissen in #124
Full Changelog: 4.3.1...4.3.2
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.3.1...4.3.2
Fix columns that their cast is Geometry by @MatanYadaev in #127
Geometry by @MatanYadaev in #127Full Changelog: 4.3.0...4.3.1
Geometry by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/127Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.3.0...4.3.1
Support Geometry class extension by @jobverplanke in #125
Full Changelog: 4.2.1...4.3.0
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.2.1...4.3.0
Nothing published for this version
Support Laravel 11 by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/113
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.1.1...4.2.0
Laravel Pint by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/112
isDirty is always true after creation by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/115Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.1.0...4.1.1
Postgres support by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/109
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/4.0.0...4.1.0
Moved away from spatialbuilder to scopes by @yinx in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/102
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.2.2...4.0.0
- Revert v3.2.1 changes
Fixed model serialization bug #100
Support St_Centroid spatial function
St_Centroid spatial functionFull Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.2...3.2.0
Add SRID Enum by @Riley19280 in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/84
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.1...3.1.2
Bugfix: Model spatial column update using Expression by @MatanYadaev in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/81
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.0...3.1.1
Support receiving Expression as a parameter in SpatialBuilder methods by @Riley19280 in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/7
Expression as a parameter in SpatialBuilder methods by @Riley19280 in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/76Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.0.0...3.1.0
Support Larave 10
Support Larave 10
Bugfix: Model spatial column update using Expression by @hiteshsamcom in https://github.com/MatanYadaev/laravel-eloquent-spatial/pull/86
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/2.10.0...2.10.1
Support PHP 8.2 #74
Support PHP 8.2 #74
Add HasSpatial trait #75
Add HasSpatial trait #75
Add Geometry@toSqlExpression method #70
Geometry@toSqlExpression method #70Macroable geometry classes
Macroable geometry classes
Add Doctrine types
Add Doctrine types
Query Builder - Support column to have table name #61
Query Builder - Support column to have table name #61
Geometry objects are now stringable.
Geometry objects are now stringable.
Support MySQL 5.7
Support MySQL 5.7
Add whereNotWithin Builder method
whereNotWithin Builder methodwhereNotContains Builder methodAdded MariaDB support
Added MariaDB support
Fix axis-order when using SRID
Fix axis-order when using SRID
Refactor toWkt
Refactor toWkt
Fix generic type issue with GeometryCollection
Geometry@toWktGeometry@toWkbGeometryCollectionMake Geometry::toWkt parameters optional
Make Geometry::toWkt parameters optional
Improve casting: - Fix getOriginal - Use a more standard WKT format
Improve casting:
getOriginal- 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
Your coding agent can read these notes before it upgrades. Set up the MCP server →