ddoronenko/google-reviews
Composer 安装命令:
composer require ddoronenko/google-reviews
包简介
TYPO3 extension for simple Google reviews output according to the selected place.
README 文档
README
This extension to display Google business reviews on your website. The simple TYPO3 extension that displays five (most-relevant) Google reviews according to selected Place ID.
Minimal requirements
- TYPO3 CMS 9.5 - 13.4.x
- PHP 7.x || 8.x
- Google API key, with Maps JavaScript API and Places API both enabled via your Google API console.
Compatibility
| EXT version | TYPO3 | PHP | Support / Development |
|---|---|---|---|
| master (4.x) | 13 | 8.2 - 8.* | Features, bugfixes, security updates |
| 3.x | 11 - 12 | 7.4 - 8.* | Deprecated (no support) |
| 2.x | 10 - 11 | 7.0 - 8.* | Deprecated (no support) |
| 1.x | 9.5 - 10 | 7.0 - 7.4 | Deprecated (no support) |
Installation (short version)
The recommended way to install extension is by using Composer.
-
Install the extension with the following command:
composer require ddoronenko/google-reviews -
Include static TypoScript from the extension in your site package or in the template record of your site.
-
Set constant
plugin.tx_googlereviews.apiKeywith your Google API key in your site package or in the template record of your site. -
Create a content element of type "Google Reviews" and select the Place ID of the business you want to display reviews for.
Full installation instructions can be found in the Documentation
Usage
Please refer to the Documentation
Update from version v3.0 to 4.0
While EXT version v3.0 -> 4.0 migration: you need to replace/update the TS constant key path from plugin.tx_googlereviews_pi1. to plugin.tx_googlereviews.
Until EXT version 4.0: make sure you use the proper plugin.tx_googlereviews_pi1. constant key path.
Troubleshooting
- Check TYPO3 logs (
/var/logs/typo3_*.log) for any errors related to the extension. - Make sure you have a valid [Google API key] with Maps JavaScript API and Places API enabled in the Google Cloud.
- Make sure that billing is enabled for your Google Cloud project, as the Places API requires billing to be active.
- Make sure you have included the static TypoScript from the extension in your site package or in the Template record of your TYPO3 site.
- In you include extension "setup.typoscript" file directly in your site package, make sure you have included the "constants.typoscript" file as well, otherwise the extension will not work properly.
- Check if selected/used Place ID is correct and corresponds to a valid Google business location. Find ID.
- Check the "Application restrictions" section for the API key configs in your Google Cloud Console. Application restrictions limit an API key’s usage to specific websites, IP addresses, Android applications, or iOS applications. You can set one application restriction per key.
- While version v3.0 -> 4.0 migration: you need to replace/update the TS constant key path from
plugin.tx_googlereviews_pi1.toplugin.tx_googlereviews.
ChangeLog
Check ChangeLog
Report a Problem
License
See LICENSE for more information.
ddoronenko/google-reviews 适用场景与选型建议
ddoronenko/google-reviews 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19.92k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2020 年 12 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「google」 「review」 「business」 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ddoronenko/google-reviews 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ddoronenko/google-reviews 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ddoronenko/google-reviews 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Review system for Symfony ecommerce applications.
Business rules engine tools.
A PHP library for accessing the Trustpilot Invitation API and fetching recieved Product reviews
AvoRed Laravel E commerce - Product Review Module
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
A basic wrapper for citco/carbon which returns business days between two given dates.
统计信息
- 总下载量: 19.92k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-12-06