spatie/statamic-algolia-places
Add an Algolia Places-powered location fieldtype to Statamic 3. Provides address autocomplete in the control panel and stores structured location data (city, country, lat/lng, postcode, etc.). Supports all Algolia Places configuration options.
Algolia Places fieldtype for Statamic 3.
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Require it using Composer.
composer require spatie/statamic-algolia-places
The location field will contain the following data:
location:
name: 'Kruikstraat 22'
administrative: Vlaanderen
county: Antwerpen
city: Antwerpen
country: België
countryCode: be
type: address
latlng:
lat: 51.2088
lng: 4.42386
postcode: '2018'
postcodes:
- '2018'
query: 'Kruikstraat 22'
value: 'Kruikstraat 22, Antwerpen, Vlaanderen, België'
The fieldtype has all the Algolia Places options

Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email security@spatie.be instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?