oveleon / contao-google-recommendation-bundle
Google Places API integration for Contao Recommendation Bundle
Installs: 1 025
Dependents: 0
Suggesters: 1
Security: 0
Stars: 3
Watchers: 5
Forks: 3
Open Issues: 1
Type:contao-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^4.13 || ^5.1
- oveleon/contao-recommendation-bundle: ^1.3
Requires (Dev)
- contao/manager-plugin: ^2.3.1
- contao/test-case: ^5.1
- phpunit/phpunit: ^9.5
- symfony/http-client: ^5.4 || ^6.0
- symfony/phpunit-bridge: ^5.4 || ^6.0
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
README
Syncs your latest google reviews into the contao recommendation bundle.
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
- Able to synchronize your google reviews into a recommendation archive
- Able to choose the sync language for your google reviews
- Cache invalidation after import
- Automatic import once every 24 hours
- Manual synchronization for one or all archives
- Error logging
Installation
Via composer
composer require oveleon/contao-google-recommendation-bundle
Via contao-manager
Search for contao google recommendation bundle and add it to your extensions.
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 |
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.
Example
An example how to style your reviews on your website