fahiem/filament-pinpoint
Filament Pinpoint adds a location picker for Filament 4/5 with Google Maps or free Leaflet/OpenStreetMap. Includes search/autocomplete, click-to-set and draggable marker, current location, radius editing, reverse geocoding to fill address fields, dark mode, and translations.
Pinpoint for forms, PinpointEntry for read-only views), ensuring consistency with existing UI patterns.Repeater, Infolist, and form validation, enabling complex scenarios like multi-location entries (e.g., branch networks) without custom JS.lat/lng fields (or custom field names), avoiding schema changes. Reverse geocoding auto-populates address fields (e.g., street, city), reducing manual data entry..env, simplifying compliance.height() to constrain resource usage.lat/lng fields exist.lat, lng, address). Identify gaps (e.g., missing city, postal_code).composer require fahiem/filament-pinpoint
.env:
PINPOINT_PROVIDER=leaflet # or 'google'
GOOGLE_MAPS_API_KEY=your_key # if using Google
php artisan vendor:publish --tag="filament-pinpoint-config"
lat/lng with Pinpoint in forms.street, city).PinpointEntry for read-only views (e.g., infolists).lat/lng as needed)lat/lng text inputs with Pinpoint in forms.Pinpoint::make('location')
->latField('latitude')
->lngField('longitude')
->addressField('address')
->searchable()
->draggable();
city, postal_code, etc.PinpointEntry for infolists.GOOGLE_MAPS_API_KEY).How can I help you explore Laravel packages today?