mauro-moreno/openstreetmap-api-client

A PHP OpenStreetMap API Client

v1.0.0 2016-02-11 03:24 UTC

This package is auto-updated.

Last update: 2024-10-29 01:08:17 UTC


README

Build Status Build Status Code Coverage

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.