Download the PHP package upassist/neos-googlereviews without Composer

On this page you can find all versions of the php package upassist/neos-googlereviews. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package neos-googlereviews

UpAssist.Neos.GoogleReviews

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

Installation

Configuration

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

All options

Setting Type Default Description
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 responses

Usage

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:

Document mixin

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

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

Eel helper

Use the GoogleReviews helper directly in Fusion:

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

CLI commands

Find a Place ID:

Fetch and cache reviews:

Clear the cache:

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:

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

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

Version Endpoint Auth method Notes
legacy maps.googleapis.com Query string Widely available, enable "Places API"
new places.googleapis.com/v1 X-Goog-Api-Key header Requires "Places API (New)" enablement

Translations

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

License

MIT


All versions of neos-googlereviews with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
neos/neos Version ^7.3 || ^8.0
neos/flow Version ^7.3 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package upassist/neos-googlereviews contains the following files

Loading the files please wait ...