smochin / openstreetmap-php-client
A simple PHP Client for openstreetmap.org
1.0.0
2016-12-27 19:35 UTC
Requires
- php: >=7.0
- ext-json: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: ~5.5
This package is auto-updated.
Last update: 2024-11-07 20:04:28 UTC
README
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);