stevenbraham/laravel-nominatim-search

Very basic Laravel component for quickly geocoding an address using Nominatim with caching

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/stevenbraham/laravel-nominatim-search

v1.0.0 2025-07-03 13:00 UTC

This package is auto-updated.

Last update: 2025-12-15 11:32:15 UTC


README

This a very basic Laravel component for quickly geocoding an address using OpenStreet Map Nominatim with caching

Usage

After installing the package, you can use the NominatimSearch facade to geocode an address. This is automatically added by the service provider.

use StevenBraham\NominatimSearch\Facades\NominatimSearch;

$address = '1600 Amphitheatre Parkway, Mountain View, CA';

// $location is an array with values 'lat' and 'lon' or null if the address could not be found
$location = NominatimSearch::encodeAddress($address);