kolirt / laravel-openstreetmap
Package for openstreetmap.org
Installs: 29 356
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 1
Forks: 6
Open Issues: 1
Requires
- guzzlehttp/guzzle: > 6.0.0
This package is auto-updated.
Last update: 2025-03-27 17:55:26 UTC
README
Installation
$ composer require kolirt/laravel-openstreetmap
$ php artisan openstreetmap:install
Methods
Details by place_id
Kolirt\Openstreetmap\Facade\Openstreetmap::details(int $place_id);
Reverse
Kolirt\Openstreetmap\Facade\Openstreetmap::reverse(float $lat, float $lng);
Search
Kolirt\Openstreetmap\Facade\Openstreetmap::search(string $q, int $limit = 10);
Search by params
Kolirt\Openstreetmap\Facade\Openstreetmap::searchByParams($streetname = null,
$housenumber = null,
$city = null,
$state = null,
$country = null,
$postalcode = null,
int $limit = 10);