PHPackages                             pixelastronauts/statamic-autocomplete-address-field - 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. pixelastronauts/statamic-autocomplete-address-field

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

pixelastronauts/statamic-autocomplete-address-field
===================================================

A Statamic Address Field addon with Google Maps Autocomplete

v1.0.0(1y ago)22.1k↓37.5%[3 issues](https://github.com/pixelastronauts/statamic-autocomplete-address-field/issues)MITVue

Since Apr 2Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

Statamic Autocomplete Address Field
===================================

[](#statamic-autocomplete-address-field)

The Statamic Autocomplete Address Field is a powerful addon for Statamic CMS that integrates a straightforward yet highly effective address input field featuring Google Maps Autocomplete. This tool simplifies the process of entering and storing comprehensive address data directly within your CMS.

Key Features
------------

[](#key-features)

- **Google Maps Autocomplete**: Enhances text input fields with autocomplete functionality for addresses, leveraging Google Maps.
- **Updated Places API**: Uses the new Google Maps Place class API (when available) for improved performance and modern features.
- **Comprehensive Data Storage**: Automatically stores detailed address information along with geographical coordinates. Example data structure includes:
    - `street_number`: e.g., "42A"
    - `route`: e.g., "Prinsestraat"
    - `locality`: e.g., "Den Haag"
    - `administrative_area_level_1`: e.g., "Zuid-Holland"
    - `country`: e.g., "Nederland"
    - `postal_code`: e.g., "2513 CE"
    - `formatted_address`: e.g., "Prinsestraat 42A, 2513 CE Den Haag, Nederland"
    - `coordinates`:
        - `lat`: 52.0787948
        - `lng`: 4.305637
- **Configurable Options**: Allows for country-specific configuration in the fieldset settings.

Installation
------------

[](#installation)

To install the Statamic Address Field, you can either use the Statamic control panel or a command line interface:

- **Via Control Panel**: Navigate to `Tools > Addons` in the Statamic control panel, search for "Address Field", and click **Install**.
- **Via Command Line**: ```
    composer require pixelastronauts/statamic-autocomplete-address-field
    ```

Usage
-----

[](#usage)

To utilize the Address Field addon:

1. **API Key Setup**: Ensure that your 'GOOGLE\_PLACES\_API\_KEY' is added to your project's `.env` file and properly restricted. Make sure you have the new Places API (New) enabled in your Google Cloud project.
2. **Field Configuration**: Configure the desired country and other settings in your fieldset configuration file as needed.
3. **Integration**: Add the Address Field to your relevant templates or blueprints within Statamic, and it will automatically incorporate Google Maps Autocomplete functionality.

Google Maps API Updates
-----------------------

[](#google-maps-api-updates)

This addon supports both the legacy Places API and the new Place class API. The implementation will automatically use the new API if available, with a fallback to the legacy API.

### Key Benefits of the New Place API:

[](#key-benefits-of-the-new-place-api)

- Improved performance
- Modern Promise-based async interface
- Updated data field structure using camelCase conventions
- Expanded place types and data fields

### Migration Notes:

[](#migration-notes)

- Enable "Places API (New)" in your Google Cloud project
- The addon handles backward compatibility automatically
- No changes needed for existing templates or content

This addon significantly streamlines address entry and enhances data accuracy.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

412d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a3793a7ac10bcbbb19693a9931b9f50825f88191f5040eddb766191c8fcf8f5?d=identicon)[pixelastronauts](/maintainers/pixelastronauts)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/pixelastronauts-statamic-autocomplete-address-field/health.svg)

```
[![Health](https://phpackages.com/badges/pixelastronauts-statamic-autocomplete-address-field/health.svg)](https://phpackages.com/packages/pixelastronauts-statamic-autocomplete-address-field)
```

###  Alternatives

[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[jacksleight/statamic-bard-texstyle

17172.5k](/packages/jacksleight-statamic-bard-texstyle)[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20116.8k](/packages/visuellverstehen-statamic-classify)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

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

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

PHPackages © 2026

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