NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2576 most downloaded on Packagist
This package provides functionality for working with the postgis extension in Laravel.
Last release 5 months ago
11 May 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
20 releases · first in 2023
Custom srid geojson by @mauritskorse in #164
Full Changelog: 2.1.0...2.2.0
GeojsonParser, TransformsGeojsonGeometry,
GeometryGeojsonRule)One column per quarter.
Added facades for parsers ( WKBParser , WKTParser , GeojsonParser ) and generators ( WKBGenerator , WKTGenerator , GeojsonGenerator )
WKBParser, WKTParser, GeojsonParser) and generators (WKBGenerator, WKTGenerator,GeojsonGenerator)Full Changelog: 2.0.1...2.1.0
Fixed using the casts after serialization, e.g. in queueable anonymous event listeners. (thanks @Henridv #149 )
Thanks for fixing bugs, improving documentation and the project!
Full Changelog: 2.0.0...2.0.1
Removed support for deprecated Laravel versions 9.x & 10.x
We are excited to finally release a huge overhaul on the DX with Laravel Magellan!
Please check out the upgrade guide for more recommended steps.
HasPostgisColumns trait & $postgisColumns property.GeometryWKBCastBBoxCast to be generic & internal, please use Box subclasses directlystSelect, stWhere, ...)GeometryType EnumtoString to toRawSql on Box classesGeometryGeojsonRule is not directly invokable anymoreCastable to all geometries to use them as casters, instead of the GeometryWKBCastCastable to all boxes to use them as casters, instead of the BBoxCastAliased Expression class as wrapper for AS in query selects
->as() helper method on MagellanBaseExpressionwithMagellanCasts() as EloquentBuilder macroAsGeometry and AsGeography database expressionsfromString() to Box classes to create a box from a stringStringable interface to all box classesJsonSerializable to Box2D and Box3DGeojsonParser and fail if not$geometry to $geometryOrGeographyExpression and therefore can be used in ->select(...) directly nowtoRawSql methods, now uses the maximum precisionmagellan:update-postgis-columns commandmagellan.eloquent & magellan.model_directories configsFull Changelog: 1.8.0...2.0.0
feat: support Laravel 13 on 1.x by @saibotk in #170
@laravel-shift made their first contribution in #132
Full Changelog: 1.7.1...1.8.0
[1.x] Backport: Fix missing precision in WKT coordinates by @saibotk in #122
Full Changelog: 1.7.0...1.7.1
PostGIS ST_LineSubstring support
ST::asGeoJson function to convert geometries to GeoJSON via the databaseExpression types in SRID-related functionsST functionsST::transform and ST::setSRID (thanks @BezBIS #91)ST::buffer & ST:offsetCurve: Correctly renamed styleMitreLevel to styleMitreLimitFull Changelog: 1.6.1...1.7.0
Only override attribute preparation functions on models instead of performInsert or performUpdate entirely (thanks @RomainMazB #89 )
performInsert or performUpdate entirely (thanks @RomainMazB #89)Point dimension when using setAltitudeFull Changelog: 1.6.0...1.6.1
chore(deps): Update dependencies & spatie/invade by @saibotk in #79
spatie/invade to v2, works without reflection now 🥳Point dimension when using setAltitudeAdded as parameter for stFrom function
as parameter for stFrom functionstHaving with stWhere to also accept string column and ST expressions, boxes and geometries as valueST_PROJECT function not being migrated to the GeometryType enum.Added Typing for Box2D and Box3D in GeoParam allowing Box objects as params in Magellan Expressions
Added Missing Distance Relationships Functions (Fixes #46)
TransformsGeojsonGeometry trait (Fixes #37)Fixed missing handling of expressions in GeoParam
Fixed generation of invalid FeatureCollection in case of zero database rows (thanks @djfhe)
Added config for geodetic SRIDs (most of the time WGS84 is sufficient, but there are much more geodetic SRIDs than 4326)
Optional geometry type param for ST_Buffer enabling easier control about metric buffering
Fix some ST functions not being migrated to the GeometryType enum.
Fix bindings being wrongly converted to SQL function statements, eg. in query()->update() calls.
query()->update() calls.- Initial Release 🎉
Your coding agent can read these notes before it upgrades. Set up the MCP server →