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. [Utility &amp; Helpers](/categories/utility)
4. /
5. trendyminds/statamic-geocoder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

Geocode your Statamic content using Google Maps Places autocomplete

2.0.2(1y ago)045MITVuePHP ^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 today

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

28

—

LowBetter than 52% of packages

Maintenance34

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

625d 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/seo-pro

68516.6k](/packages/statamic-seo-pro)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[rias/statamic-redirect

29335.6k](/packages/rias-statamic-redirect)[jacksleight/statamic-bard-texstyle

18195.4k](/packages/jacksleight-statamic-bard-texstyle)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23111.5k14](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

15133.0k](/packages/withcandour-aardvark-seo)

PHPackages © 2026

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