Skip to content

mauro-moreno/openstreetmap-api-client

Repository files navigation

OpenStreetMap API Client

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.

About

A PHP OpenStreetMap API Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages