PHPackages                             mgdsoft/stackdriver-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mgdsoft/stackdriver-bundle

AbandonedArchivedSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

mgdsoft/stackdriver-bundle
==========================

Google Stackdriver monolog handler &amp; error reporting

v1.0.3(4y ago)07.3k↓33.3%1MITPHPPHP ~7.0

Since Dec 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/MGDSoft/stackdriver-bundle)[ Packagist](https://packagist.org/packages/mgdsoft/stackdriver-bundle)[ RSS](/packages/mgdsoft-stackdriver-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (14)Used By (0)

GoogleCloud Stackdriver Bundle [![Build Status](https://camo.githubusercontent.com/ada63707bbdc3bf7eb4f4a7a95f4b50a512adc45a27852d39dd1fe56b7bd414c/68747470733a2f2f7472617669732d63692e636f6d2f4d4744536f66742f737461636b6472697665722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/github/MGDSoft/stackdriver-bundle)
=======================================================================================================================================================================================================================================================================================================================================================

[](#googlecloud-stackdriver-bundle-)

Log all records in Stackdriver using this bundle. Some features

- Error reporting send notifications (by exception or log level error)
- Create correct metadata from $\_ENV vars
- Auto create logname ${gcloud\_service}-symfony.log
- track logs from same request with label requestId
- Track current user

### Installation

[](#installation)

This bundle use auto recipes from , to enable execute

```
composer config extra.symfony.allow-contrib true
```

Install the bundle...

```
composer req mgdsoft/stackdriver-bundle
```

The bundle will be configured only for prod environment see **packages/prod/mgdsoft\_stackdriver.yaml** for more info.

Inside appengine credentials are configured auto, but to test in local you must set **mgdsoft\_stackdriver.credentials\_json\_file**

Finally configure like simple monolog service handler and enjoy it.

```
# /config/packages/prod/monolog.yaml
monolog:
    handlers:
        stack_driver:
            type: service
            id: MGDSoft\Stackdriver\Logger\Handler
```

By default all errors are reported, if you want to disable update bundle config

```
#./bin/console config:dump-reference MGDSoftStackdriverBundle

mgdsoft_stackdriver:
    credentials_json_file:  null
    log_name:               null
    level:                  info
    error_reporting:
        enabled:              true
        ignore_400:           true
```

All pull request are welcome ;-)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.4% 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 ~38 days

Recently: every ~112 days

Total

13

Last Release

1529d ago

Major Versions

v0.1.19 → v1.0.32022-03-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/896bc1dc22720fe832ca4d74135728066f636f9604291176678d097c0dbfbed9?d=identicon)[MGDSoft](/maintainers/MGDSoft)

---

Top Contributors

[![MGDSoft](https://avatars.githubusercontent.com/u/3816465?v=4)](https://github.com/MGDSoft "MGDSoft (38 commits)")[![vimar](https://avatars.githubusercontent.com/u/541354?v=4)](https://github.com/vimar "vimar (1 commits)")

---

Tags

error-reportinggcloud

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mgdsoft-stackdriver-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mgdsoft-stackdriver-bundle/health.svg)](https://phpackages.com/packages/mgdsoft-stackdriver-bundle)
```

###  Alternatives

[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19024.6M15](/packages/datadog-php-datadogstatsd)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[helhum/sentry-typo3

Sentry Integration for TYPO3

1833.5k](/packages/helhum-sentry-typo3)

PHPackages © 2026

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