cydrickn/geocoder-php-geocodexyz

v0.1.1 2021-05-19 08:48 UTC

This package is auto-updated.

Last update: 2024-04-19 15:30:05 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