PHPackages                             manuxi/google-reviews-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. manuxi/google-reviews-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

manuxi/google-reviews-bundle
============================

Bundle to get Google reviews easily

v1.0.3(2y ago)22.1k4[3 issues](https://github.com/manuxi/google-reviews-bundle/issues)MITPHPPHP ^7.1|^8.0

Since Mar 24Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/manuxi/google-reviews-bundle)[ Packagist](https://packagist.org/packages/manuxi/google-reviews-bundle)[ RSS](/packages/manuxi-google-reviews-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (14)Versions (6)Used By (0)

GoogleReviews!
==============

[](#googlereviews)

I made this bundle to easily get Google reviews since I haven't found an extension which did this job well. Curl is used to grab data from the Google places api. To avoid excessive api access, the result can be cached (see configuration options). The review data is deserialized to a model for further use.

Install the package with:

```
composer require manuxi/google-reviews-bundle
```

If you're *not* using Symfony Flex, you'll also need to add the bundle in your `config/bundles.php` file:

```
Manuxi\GoogleReviewsBundle\ManuxiGoogleReviewsBundle::class => ['all' => true],

```

Usage
-----

[](#usage)

```
// src/Controller/MyController.php
use Manuxi\GoogleReviewsBundle\ManuxiGoogleReviews;
// ...
class MyController
{
    public function index(ManuxiGoogleReviews $googleReviews)
    {
        $reviews = $googleReviews->getReviews();
        $overallCount = $googleReviews->getReviewsCount();
        // ...
    }
}
```

You can also access this service directly using the id `manuxi_google_reviews.google_reviews`.

You can modify the offset and the length of the reviews:

```
// ...
$reviews = $googleReviews->getReviews(2, 3); //returns 3 elements, starting at offset 2
// ...
```

Twig usage
----------

[](#twig-usage)

The extension comes with two twig functions which will give you the overall count and the reviews themselves.

```
{% for review in get_google_reviews(1,2) %}
    {{ dump(review) }}
{% endfor %}
```

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

[](#configuration)

To use this extension please refer to  to get your api key. You also need the CID of the specific business partner. To get it see here: .

The extension is configured directly by creating a new `config/packages/manuxi_google_reviews.yaml` file. The mentioned api-key and cid must be placed here just as the default values:

```
# config/packages/manuxi_google_reviews.yaml
manuxi_google_reviews:
    connector:
        # api-key
        api_key:
        # CID
        cid:
        # locale, defaults to en
        locale: en
    cache:
        # I suggest caching!
        enabled: true
        pool: cache.app
        ttl: 86400
```

Contributing
------------

[](#contributing)

For the sake of simplicity this extension was kept small. It is tested only with my own tiny Google account (which has only 5 reviews in it). Please feel comfortable submitting issues or pull requests, I'd be glad to get feedback to improve the extension :).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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

Every ~316 days

Total

4

Last Release

932d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ce067feaa3f9ece08d78385c401aab7d72e9e8ee64d77d584f884b6725ad9de?d=identicon)[manuxi](/maintainers/manuxi)

---

Top Contributors

[![manuxi](https://avatars.githubusercontent.com/u/11303615?v=4)](https://github.com/manuxi "manuxi (20 commits)")[![feymo](https://avatars.githubusercontent.com/u/60115888?v=4)](https://github.com/feymo "feymo (1 commits)")

### Embed Badge

![Health badge](/badges/manuxi-google-reviews-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/manuxi-google-reviews-bundle/health.svg)](https://phpackages.com/packages/manuxi-google-reviews-bundle)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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