swisnl/filament-geometry
A Filament form field for drawing and editing map geometries. Let users place points, draw lines, and outline polygons on an interactive map, then save the result as GeoJSON in your database. Adds spatial input to your admin panel with simple, familiar field configuration and no custom JavaScript re...
Adopt when all of these hold:
Look elsewhere (or build) when:
To executives: One small open-source plugin lets our admin users draw geographic areas — service zones, territories, site locations — directly in the tools we already use, instead of us building a mapping feature from scratch. It costs us a dependency rather than engineering weeks, and the newest release keeps it compatible with our planned Filament upgrade, so it reduces migration risk rather than adding to it.
To engineering: swisnl/filament-geometry is a Filament form field that wraps a Leaflet draw control and persists geometry as GeoJSON/WKT. 0.8.1 is a patch adding Filament 5.x support — no API or storage changes, so it's a drop-in for the upgrade path. Treat it strictly as an input widget: it does not give us spatial querying, so any radius/containment logic goes through our own spatial layer (PostGIS or equivalent). Pin the exact version, since the package is pre-1.0, and confirm the Filament constraint in composer.json matches our target branch before we merge the upgrade.
How can I help you explore Laravel packages today?