smochin/openstreetmap-php-client

A simple PHP Client for openstreetmap.org

1.0.0 2016-12-27 19:35 UTC

This package is auto-updated.

Last update: 2024-04-07 18:46:58 UTC


README

Join the chat at https://gitter.im/smochin/openstreetmap-php-client Total Downloads Latest Stable Version Branch master Build Status

A simple PHP Client for http://openstreetmap.org.

Installation

Package is available on Packagist, you can install it using Composer.

composer require smochin/openstreetmap-php-client

Dependencies

  • PHP 7
  • json extension
  • cURL extension

Get started

Initialize the Crawler

$client = new Smochin\OpenStreetMap\Client();

Reverse geocoding

$address = $client->reverse(-8.047562, -34.876964);