mauro-moreno/silex-openstreetmap

Silex Wrapper for the OpenStreetMap API

v1.0.1 2016-02-11 04:53 UTC

This package is auto-updated.

Last update: 2024-11-29 01:32:42 UTC


README

Silex Wrapper for the OpenStreetMap API

Installation

Require the latest version of Scientist Laravel using Composer.

composer require mauro-moreno/silex-openstreetmap

Enable Service Provider

<?php
$app = new Silex\Application;
$app->register(new MauroMoreno\OpenStreetMap\Silex\OpenStreetMapServiceProvider);

Usage

<?php
$app['openstreetmap.nominatim']->reverse(40.748817, -73.985428);