Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Map Field Laravel Package

lbcdev/filament-map-field

Filament Map Field adds Leaflet-powered map components for Filament v3/v4: MapField and MapEntry to pick/display coordinates, plus MapBoundsField/Entry for rectangular areas. Supports reactive updates, separate lat/lng fields, and nested JSON paths.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Geospatial Data Collection: Enables location-based features (e.g., property listings, delivery tracking, event venues) in Filament admin panels without building custom UI.
  • Roadmap for Spatial Analytics: Foundation for future features like radius-based searches, heatmaps, or route optimization by integrating with geospatial databases (PostGIS, etc.).
  • Build vs. Buy: Avoids reinventing map UI/UX for Filament forms (saves ~3–6 months of dev time) while maintaining flexibility for customization.
  • Use Cases:
    • Real estate platforms (property coordinates).
    • Logistics apps (delivery locations/pickup zones).
    • Field service tools (technician dispatching).
    • Event management (venue mapping).

When to Consider This Package

Adopt if:

  • Your Filament admin needs interactive maps for data entry/display (e.g., lat/long, polygons).
  • You’re using Filament v3/v4 with Laravel 10–12 and PHP 8.1+.
  • You prioritize rapid development over bespoke map solutions (e.g., Leaflet/OpenLayers integrations).
  • Your team lacks frontend expertise to build map UIs from scratch.

Look elsewhere if:

  • You need advanced geospatial features (e.g., geocoding, complex geometries) beyond basic points/rectangles.
  • Your stack requires non-Livewire map libraries (e.g., Vue/React components).
  • You’re targeting Filament v2 or older Laravel versions.
  • You need offline map support or custom map styling (this package relies on lbcdev-map’s defaults).

How to Pitch It (Stakeholders)

For Executives: "This package lets us add interactive maps to our Filament admin panels in hours—not months—enabling features like property location tracking or delivery zone management. It’s a drop-in solution that reduces dev overhead while keeping the UI polished and user-friendly. MIT-licensed and maintained, it aligns with our Laravel stack and supports both current and future Filament versions."

For Engineering: *"The filament-map-field package integrates the lbcdev-map Livewire component into Filament, giving us:

  • Pre-built map fields for forms (MapField, MapBoundsField) and read-only displays (MapEntry, MapBoundsEntry).
  • Seamless lat/long storage with JSON/nested field support (e.g., location.latitude).
  • No frontend dependencies beyond Filament/Livewire.
  • Low maintenance: Built on a mature Livewire component with Filament v3/v4 compatibility. Tradeoff: Limited to basic map interactions (points/rectangles), but extensible via the underlying lbcdev-map component. Ideal for MVP geospatial features."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity