willdurand/geocoder
Powerful PHP geocoding library by William Durand. Geocode addresses to coordinates and reverse-geocode lat/long back to locations, with a clean provider-based API. Supports multiple geocoding services, adapters, caching, and easy integration in any project.
Adopt if:
Look elsewhere if:
Executives: "This package lets us ship location features—like ‘nearby X’ or ‘delivery zones’—without building a custom geocoding system. It integrates with Google Maps, OpenStreetMap, and others, so we can balance cost and accuracy. For example, we could launch a ‘Find Local Partners’ feature in 2 weeks instead of 2 months. The MIT license avoids legal risks, and it’s used by 4K+ projects, so it’s proven."
Engineering: *"Geocoder abstracts provider-specific APIs (Google, OSM, etc.) into a unified PHP interface. Key benefits:
config(['geocoder.default' => 'google'])).Geocoder::batch().Data/Analytics: *"This enables granular location insights. For instance:
latitude/longitude or city/country to user records for segmentation.How can I help you explore Laravel packages today?