stevenbraham/laravel-nominatim-search
最新稳定版本:v1.0.0
Composer 安装命令:
composer require stevenbraham/laravel-nominatim-search
包简介
Very basic Laravel component for quickly geocoding an address using Nominatim with caching
README 文档
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);
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-15