PHPackages                             trendyminds/statamic-geocoder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. trendyminds/statamic-geocoder

ActiveLibrary

trendyminds/statamic-geocoder
=============================

Geocode your Statamic content using Google Maps Places autocomplete

2.0.2(1y ago)044MITVuePHP ^8.2

Since Oct 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/trendyminds/statamic-geocoder)[ Packagist](https://packagist.org/packages/trendyminds/statamic-geocoder)[ RSS](/packages/trendyminds-statamic-geocoder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Geocoder
========

[](#geocoder)

Geocode your Statamic content using Google Maps Places autocomplete

[![Using the Places autocomplete to geolocate a location](docs/field.png)](docs/field.png)

How to Install
--------------

[](#how-to-install)

1. Run the following command from your project root:

```
composer require trendyminds/statamic-geocoder
```

2. Publish the config file and add your Google Maps API key to the added config within `config/statamic/geocoder.php`.

```
php artisan vendor:publish --tag=geocoder-config
```

Templating
----------

[](#templating)

When returning your geocoded data you'll have object properties for the selected location. For example if your selected place is:

**White House, Pennsylvania Avenue Northwest, Washington, DC, USA**

Your field object properties would like similar to this:

```
your_geo_field:
  name: 'The White House'
  place: 'White House, Pennsylvania Avenue Northwest, Washington, DC, USA'
  lat: 38.8976763
  lng: -77.0365298
  address: '1600 Pennsylvania Avenue NW'
  city: Washington
  state: DC
  zip: '20500'
```

And you can output the data as a standard Antlers object:

```
{{# Within a loop context #}}
{{ your_geo_field }}
  {{ name }}
  {{ place }}
  {{ lat }}
  {{ lng }}
{{ /your_geo_field }}

{{# As individual properties #}}
{{ your_geo_field:name }}
{{ your_geo_field:place }}
{{ your_geo_field:lat }}
{{ your_geo_field:lng }}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51ee860b8a11c81c32b2d0bf9f90e23067fcf3cf72476bfab89913bf0e1ea3b3?d=identicon)[trendyminds](/maintainers/trendyminds)

---

Top Contributors

[![aaronbushnell](https://avatars.githubusercontent.com/u/315202?v=4)](https://github.com/aaronbushnell "aaronbushnell (8 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/trendyminds-statamic-geocoder/health.svg)

```
[![Health](https://phpackages.com/badges/trendyminds-statamic-geocoder/health.svg)](https://phpackages.com/packages/trendyminds-statamic-geocoder)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
