PHPackages                             nomala/statamic-google-places - 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. nomala/statamic-google-places

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

nomala/statamic-google-places
=============================

A Google Places addon for Statamic V3 for displaying Google Places on your website.

v1.2.0(2y ago)0220↓100%MITPHP

Since Nov 28Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Statamic Google Places
======================

[](#statamic-google-places)

A Google Places addon for Statamic V3 for displaying Google Places on your website.

Installation
============

[](#installation)

You can install the package via composer:

```
composer require nomala/statamic-google-places
```

Optionally publish the config file of this package:

```
php artisan vendor:publish --provider="Nomala\StatamicGooglePlaces\StatamicGooglePlacesServiceProvider"
```

Add an environment variable. Provide the Google API key that you want to use for this project.

```
GOOGLE_MAPS_API_KEY=""

```

Places Tags
===========

[](#places-tags)

Insert one of the tags below into your antlers template.

Find place
----------

[](#find-place)

This tag takes a text input and return a place. See [Google's Official documentation](https://developers.google.com/maps/documentation/places/web-service/search-find-place) for more information.

```
{{ place:find }} ... {{ /place:find }}

```

### Parameter(s)

[](#parameters)

- `input` — The text input specifying which place to search for (name or address).
- `input_type` — The type of input - `textquery` or `phonenumber` (`textquery` is set as default).
- `parameters` — Optional parameters - please see Google's Official documentation for more information on all the available parameters. All parameters are separated using the ampersand `&` character.

### Example

[](#example)

```
{{ place:find input="paris" input_type="textquery" parameters="language=fr" }}
    {{ place_id }}
{{ /place:find }}
```

Nearby Search
-------------

[](#nearby-search)

Search for places within a specified area. See [Google's Official documentation](https://developers.google.com/maps/documentation/places/web-service/search-nearby) for more information.

```
{{ place:nearby }} ... {{ /place:nearby }}

```

### Parameter(s)

[](#parameters-1)

- `lat` — The latitude of the place.
- `longitude` — The longitude of the place.
- `radius` — Defines the distance (in meters) within which to return place results.
- `parameters` — Optional parameters - please see Google's Official documentation for more information on all the available parameters. All parameters are separated using the ampersand `&` character.

### Example

[](#example-1)

```
{{ place:nearby lat="40.6971494" lng="-74.2598655" radius="10000" parameters="type=doctor&rankby=distance" }}
    {{ name }}, {{ place_id }}
{{ /place:nearby }}
```

Place Details
-------------

[](#place-details)

Request for details about a place. See [Google's Official documentation](https://developers.google.com/maps/documentation/places/web-service/details) for more information.

```
{{ place:details }} ... {{ /place:details }}

```

### Parameter(s)

[](#parameters-2)

- `place_id` — A textual identifier that uniquely identifies a place.
- `parameters` — Optional parameters - please see Google's Official documentation for more information on all the available parameters. All parameters are separated using the ampersand `&` character.

### Examples

[](#examples)

```
{{ place:details place_id="ChIJYeZuBI9YwokRjMDs_IEyCwo" parameters="fields=formatted_address,name,geometry&language=fr" }}
    {{ name }}
    {{ geometry.location.lat }}
    {{ geometry.location.lng }}
    {{ formatted_address }}
{{ /place:details }}
```

To get the place ID and details:

```
{{ place:find input="paris" }}
    {{ place:details place_id="{ place_id }" }}
        {{ name }}
        {{ formatted_address }}
    {{ /place:details }}
{{ /place:find }}
```

Photos from search
------------------

[](#photos-from-search)

Request that return all the photos from a find search.

```
{{ place:photos }} ... {{ /place:photos }}

```

### Parameter(s)

[](#parameters-3)

- `input` — The text input specifying which place to search for (name or address).

### Example

[](#example-2)

```
{{ place:photos input="Manhattan" }}
    {{ photo }} ,

{{ /place:photos }}
```

Tips
----

[](#tips)

If you want to see all the available data inside a loop, use the `dump`tag.

```
{{ place:photos input="Manhattan" }}
    {{ dump }}
{{ /place:photos }}
```

License
=======

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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 ~195 days

Total

5

Last Release

844d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c4547b5482d26ce478f454ec301e8cc0104f97aa7b05086b58037429816cc75?d=identicon)[Djoul](/maintainers/Djoul)

---

Top Contributors

[![Djoul](https://avatars.githubusercontent.com/u/99880?v=4)](https://github.com/Djoul "Djoul (26 commits)")

### Embed Badge

![Health badge](/badges/nomala-statamic-google-places/health.svg)

```
[![Health](https://phpackages.com/badges/nomala-statamic-google-places/health.svg)](https://phpackages.com/packages/nomala-statamic-google-places)
```

###  Alternatives

[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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