mauro-moreno / openstreetmap-api-client
A PHP OpenStreetMap API Client
v1.0.0
2016-02-11 03:24 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: >4.5
This package is auto-updated.
Last update: 2024-11-29 01:17:32 UTC
README
A PHP OpenStreetMap API Client
Installation
composer require mauro-moreno/openstreetmap-api-client
Usage
Nominatim
<?php $config = [ 'format' => 'json' ]; $client = new MauroMoreno\OpenStreetMap\NominatimClient($config); $client->reverse(40.748817, -73.985428); // Returns Empire State address.