PHPackages                             deferdie/laravel-stackdriver - 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. deferdie/laravel-stackdriver

ActiveLaravel

deferdie/laravel-stackdriver
============================

An exception logger for Laravel to log to Google Stackdriver

v0.0.7(7y ago)514.0k—0%3MITPHP

Since May 26Pushed 7y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Laravel Stackdriver
===================

[](#laravel-stackdriver)

### Installation:

[](#installation)

```
composer require deferdie/laravel-stackdriver

```

### Add the following enviroment variables to your .env file

[](#add-the-following-enviroment-variables-to-your-env-file)

```
GCP_PROJECT_ID=YOUR GOOGLE CLOUD PROJECT ID
GCP_LOG_NAME=YOUR LOG NAME
GOOGLE_APPLICATION_CREDENTIALS=PATH TO YOUR CREDIENTIAL.JSON FILE

```

To optain a JSON file containing your credientials, you first need to create a google service account and get a key file from the IAM section.

### In your config/app.php within your providers array

[](#in-your-configappphp-within-your-providers-array)

```
StackDriverLogger\LaravelStackDriverServiceProvider::class,

```

### In your app/Exceptions/Handler.php

[](#in-your-appexceptionshandlerphp)

```
use StackDriverLogger\StackDriverLogger;

```

and finally within the report function

```
$log = new StackDriverLogger();
$log->log($exception);

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Every ~16 days

Recently: every ~23 days

Total

7

Last Release

2811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ac44afec42def8d81628e3889bc148f1c9556af725fc39b9e8547aa4b1bf968?d=identicon)[deferdie](/maintainers/deferdie)

---

Top Contributors

[![deferdie](https://avatars.githubusercontent.com/u/14778675?v=4)](https://github.com/deferdie "deferdie (12 commits)")

### Embed Badge

![Health badge](/badges/deferdie-laravel-stackdriver/health.svg)

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

###  Alternatives

[google/cloud-error-reporting

Stackdriver Error Reporting Client for PHP

204.2M23](/packages/google-cloud-error-reporting)[codeinternetapplications/monolog-stackdriver

Stackdriver handler for Monolog.

14181.7k](/packages/codeinternetapplications-monolog-stackdriver)

PHPackages © 2026

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