Download the PHP package oveleon/contao-google-recommendation-bundle without Composer

On this page you can find all versions of the php package oveleon/contao-google-recommendation-bundle. 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 contao-google-recommendation-bundle

Contao Google Recommendation Bundle

Syncs your latest google reviews into the contao recommendation bundle.

Oveleon



Working with Contao 4.13 and Contao 5.1 (PHP ^8.1)


This plugin adds the possibility to synchronize your Google reviews into your recommendation archives.

Features

Installation

Via composer

Via contao-manager

After installing the contao-google-recommendation-bundle, you need to run a contao install.

Setup

This bundle adds new fields to Contao Recommendation Bundle.

Contao Recommendation Bundle

For a full setup, please look here.

Archive settings

Google Reviews
Option Description
Sync with Google Activate to enable synchronization with Google API
Google API Token Your Google API Token. More information on Google: Using API keys
Google Places ID Your Google Place ID. More information on Google: Place IDs
Language Here you can select the imported language for your reviews. More information on Google: Language Support

Admin View: Recommendation Reader

Synchronization

All archives with enabled synchronization will update once every 24 hours. You are able to trigger the synchronization for each archive or for all archives.

Admin View: Recommendation Sync

Limitations

  1. Currently, the Google API only allows to retrieve the last 5 reviews. This should be sufficient for daily synchronization, but does not allow an initial import of all available ratings.
  2. The extension currently only allows the import of reviews with an entered text. If there is no text vavailable, the importer will skip the review.

Google

You may encounter issues regarding using the Google Places API so follow the following steps to enable it and allow the usage of the API-Key:

Error message Solution
API keys with referer restrictions cannot be used with this API Enable the google places API: https://developers.google.com/maps/documentation/javascript/places
You must enable Billing... Enable billing for your Google Account

Also make sure that your API-Key for the Places-API is usable by your server (IP-Address) and do not lock it to a URL (The cronjob doesn't work via URL but the IP). For billing issues, make sure that you have to verify your payment method via https://payments.google.com/gp/w/home/paymentmethods as well.

Any issues regarding setting up the Google API will be closed without an answer. Please read the google docs.

Example

An example how to style your reviews on your website

Admin View: Recommendation Example


All versions of contao-google-recommendation-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
contao/core-bundle Version ^4.13 || ^5.1
oveleon/contao-recommendation-bundle Version ^1.3
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 oveleon/contao-google-recommendation-bundle contains the following files

Loading the files please wait ....