cydrickn/geocoder-php-geocodexyz

v0.1.0 2018-10-24 16:41 UTC

README

PHP from Packagist Latest Version on Packagist Software License Run Status Coverage Badge

This project is a provider for Geocoder-PHP to enable the consumption of the Geocode.xyz API.

The API detailed in Geocode.xyz documentation

Install

composer require cydrickn/geocoder-php-geocodexyz

Options

Key Description Available Value Default Customizable in Query Data
geomode strictmode: prevent the geocoder from making too many guesses on your input.
nostrict: Will return all matched locations, even those with low confidence
strictmode, nostrict nostrict yes
region The region parameter defines the region/country to limit the search results for geoparsing functions (scantext) or single response geocoding (locate) see all available values in (https://geocode.xyz/api) World yes
auth The authentication code (for registered/subscribed users). no