PHPackages                             yatshub/yii2-google-cloud-error-reporting - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. yatshub/yii2-google-cloud-error-reporting

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

yatshub/yii2-google-cloud-error-reporting
=========================================

Google cloud error reporting real-time exception monitoring and alerting for Yii2

v1.0.0(3y ago)01MITPHP

Since Oct 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yatshub/yii2-google-cloud-error-reporting)[ Packagist](https://packagist.org/packages/yatshub/yii2-google-cloud-error-reporting)[ RSS](/packages/yatshub-yii2-google-cloud-error-reporting/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

 [ ![Yii Framework](https://camo.githubusercontent.com/299dd24800f6d6c86446ffd6eff27cd5e14aecf9101aecc39d339ea5a99c4e38/68747470733a2f2f7777772e7969696672616d65776f726b2e636f6d2f696d6167652f6c6f676f2e737667) ](http://www.yiiframework.com/)

Google Cloud Error Reporting for Yii2
-------------------------------------

[](#google-cloud-error-reporting-for-yii2)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yatshub/yii2-google-cloud-error-reporting "*"

```

or add

```
"yatshub/yii2-google-cloud-error-reporting": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply generate a service account and configure your target as the following:

```
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                ...
                'googleCloudErrorReporting' => [
                    'class' => 'yatshub\GoogleErrorReporting\ErrorReporting',
                    'levels' => ['error', 'warning'],
                    'except' => ['yii\web\HttpException:404'],
                    'projectId' => 'project-id',
                    'loggerInstance' => 'instance-log',
                    'clientSecretPath' => 'path/to/your/service/account/credentials.json',
                    'version' => 'dev or prod',
                    'service' => 'application name or any name for easy project tracking',
                ],
                ...
            ],
        ],
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1302d ago

### Community

Maintainers

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

---

Top Contributors

[![yatshub](https://avatars.githubusercontent.com/u/13006815?v=4)](https://github.com/yatshub "yatshub (3 commits)")

---

Tags

error-reportinggoogleyii2extensiontargetgoogle cloud

### Embed Badge

![Health badge](/badges/yatshub-yii2-google-cloud-error-reporting/health.svg)

```
[![Health](https://phpackages.com/badges/yatshub-yii2-google-cloud-error-reporting/health.svg)](https://phpackages.com/packages/yatshub-yii2-google-cloud-error-reporting)
```

###  Alternatives

[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)[sammaye/yii2-audittrail

A port of audit trail

39408.2k](/packages/sammaye-yii2-audittrail)[apollo11/yii2-logger

Log application errors in slack channel

1011.4k1](/packages/apollo11-yii2-logger)

PHPackages © 2026

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