This project is a provider for Geocoder-PHP to enable the consumption of the Geocode.xyz API.
The API detailed in Geocode.xyz documentation
composer require cydrickn/geocoder-php-geocodexyz
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 |