PHPackages                             upassist/neos-googlereviews - 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. [API Development](/categories/api)
4. /
5. upassist/neos-googlereviews

ActiveNeos-package[API Development](/categories/api)

upassist/neos-googlereviews
===========================

Google Reviews integration for Neos CMS — fetch and display Google Place reviews with caching

1.0.0(3mo ago)00MITPHPPHP ^8.1

Since Mar 31Pushed 3mo agoCompare

[ Source](https://github.com/UpAssist/neos-googlereviews)[ Packagist](https://packagist.org/packages/upassist/neos-googlereviews)[ RSS](/packages/upassist-neos-googlereviews/feed)WikiDiscussions main Synced 4w ago

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

UpAssist.Neos.GoogleReviews
===========================

[](#upassistneosgooglereviews)

Fetch and display Google Place reviews in Neos CMS. Provides a content element, Eel helper, CLI commands, and automatic caching.

Supports both the legacy Google Maps API and the new Google Places API (v1).

Requirements
------------

[](#requirements)

- Neos CMS 7.3+ / 8.x
- PHP 8.1+
- A Google Cloud API key with the Places API enabled

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

[](#installation)

```
composer require upassist/neos-googlereviews
```

Configuration
-------------

[](#configuration)

Add your API key and default Place ID in `Settings.yaml`:

```
UpAssist:
  Neos:
    GoogleReviews:
      apiKey: 'YOUR_GOOGLE_API_KEY'
      defaultPlaceId: 'ChIJ...'
```

### All options

[](#all-options)

SettingTypeDefaultDescription`apiVersion`string`'legacy'``'legacy'` for Maps API, `'new'` for Places API v1`apiKey`string`''`Google Cloud API key (required)`defaultPlaceId`string`''`Fallback Place ID when not set on the document`cacheLifetime`integer`86400`Cache TTL in seconds (24 hours)`maxReviews`integer`5`Maximum number of reviews to fetch (Google API limit is 5)`language`string`'nl'`Language code for API responsesUsage
-----

[](#usage)

### Content element

[](#content-element)

Insert the **Google Reviews** content element in the Neos backend. It displays a rating summary and individual review cards in a responsive grid.

The element reads the Place ID from the nearest document node (via the `GooglePlaceId` mixin) or falls back to `defaultPlaceId` from settings.

Editor options in the inspector:

- **Show author photo** - Display reviewer avatars
- **Max displayed reviews** - Slider from 1 to 5
- **Show link to all reviews** - Link to Google reviews page

### Document mixin

[](#document-mixin)

Add the mixin to any document NodeType to enable per-page Place ID configuration:

```
'Your.Package:Document.Page':
  superTypes:
    'UpAssist.Neos.GoogleReviews:Mixin.GooglePlaceId': true
```

This adds a "Google Reviews" tab in the inspector where editors can set the Place ID.

### Eel helper

[](#eel-helper)

Use the `GoogleReviews` helper directly in Fusion:

```
# Get all data (rating, totalReviews, reviews array)
data = ${GoogleReviews.getData(placeId)}

# Individual accessors
reviews = ${GoogleReviews.getReviews(placeId)}
rating = ${GoogleReviews.getRating(placeId)}
totalReviews = ${GoogleReviews.getTotalReviews(placeId)}

```

The `placeId` argument is optional; it falls back to `defaultPlaceId` from settings.

### CLI commands

[](#cli-commands)

**Find a Place ID:**

```
./flow googlereviews:findplaceid "Your Business Name City"
```

**Fetch and cache reviews:**

```
./flow googlereviews:fetch [placeId]
```

**Clear the cache:**

```
./flow googlereviews:clearcache [placeId]
```

Styling
-------

[](#styling)

The package ships minimal structural CSS. Override styles in your site package for branding. All classes use the BEM convention with the `google-reviews` block:

```
.google-reviews
.google-reviews__summary
.google-reviews__grid
.google-reviews__card
.google-reviews__stars
.google-reviews__star--filled
.google-reviews__footer
.google-reviews__cta

```

The grid uses a `--reviews-count` CSS custom property and collapses to a single column below 768px.

Caching
-------

[](#caching)

Reviews are cached using Flow's file-based cache backend. On API errors, stale cached data is served as a fallback. Use the `clearcache` CLI command or wait for the TTL to expire.

API versions
------------

[](#api-versions)

VersionEndpointAuth methodNotes`legacy``maps.googleapis.com`Query stringWidely available, enable "Places API"`new``places.googleapis.com/v1``X-Goog-Api-Key` headerRequires "Places API (New)" enablementTranslations
------------

[](#translations)

Includes English and Dutch translations out of the box. Add your own XLIFF files in the standard Neos translation path.

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance82

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0644de5e880c5b511c6b1cb1b08c80be5a64afd16d37dd9e633aa32c2d49f4cd?d=identicon)[hphoeksma](/maintainers/hphoeksma)

---

Top Contributors

[![hphoeksma](https://avatars.githubusercontent.com/u/250683?v=4)](https://github.com/hphoeksma "hphoeksma (15 commits)")

### Embed Badge

![Health badge](/badges/upassist-neos-googlereviews/health.svg)

```
[![Health](https://phpackages.com/badges/upassist-neos-googlereviews/health.svg)](https://phpackages.com/packages/upassist-neos-googlereviews)
```

###  Alternatives

[flowpack/media-ui

This module allows managing media assets including pictures, videos, audio and documents.

2191.6k2](/packages/flowpack-media-ui)[wwwision/graphql

Base package to create GraphQL endpoints with Flow

2116.1k1](/packages/wwwision-graphql)

PHPackages © 2026

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