geocoder-php/nominatim-provider
最新稳定版本:5.8.0
Composer 安装命令:
composer require geocoder-php/nominatim-provider
包简介
Geocoder Nominatim adapter
README 文档
README
This is the Nominatim provider from the PHP Geocoder. This is a READ ONLY repository. See the main repo for information and documentation.
All usage of the Nominatim provider using nominatim.openstreetmap.org must follow the Nominatim Usage Policy !
Install
composer require geocoder-php/nominatim-provider
Usage
If you want to use the "default" Nominatim instance (https://nominatim.openstreetmap.org/) :
$provider = \Geocoder\Provider\Nominatim\Nominatim::withOpenStreetMapServer($httpClient, $userAgent);
If you want to specify yourself the server that will be used :
$provider = new \Geocoder\Provider\Nominatim($httpClient, 'https://nominatim.openstreetmap.org', $userAgent);
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.
统计信息
- 总下载量: 4.07M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 34
- 点击次数: 1
- 依赖项目数: 26
- 推荐数: 4
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04