PHPackages                             omnitaskba/laravel-google-cloud-logging - 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. omnitaskba/laravel-google-cloud-logging

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

omnitaskba/laravel-google-cloud-logging
=======================================

A Google Cloud Logging system for Laravel

0400PHP

Since Nov 22Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-google-cloud-storage
============================

[](#laravel-google-cloud-storage)

A Google Cloud Storage filesystem for Laravel.

[![Latest Stable Version](https://camo.githubusercontent.com/bde5ad75ea3c6af4d1ab113341b0e67ecbb81574f216c408f344d750aa640f02/68747470733a2f2f706f7365722e707567782e6f72672f737570657263686169726f6e2f6c61726176656c2d676f6f676c652d636c6f75642d6c6f6767696e672f762f737461626c65)](https://packagist.org/packages/superchairon/laravel-google-cloud-logging)[![License](https://camo.githubusercontent.com/fcf2862b7b8f67ba29ce7b76f63fa3da3bec97e9bab6fe54515dc8ae4f74b919/68747470733a2f2f706f7365722e707567782e6f72672f737570657263686169726f6e2f6c61726176656c2d676f6f676c652d636c6f75642d6c6f6767696e672f6c6963656e7365)](https://packagist.org/packages/superchairon/laravel-google-cloud-logging)[![Total Downloads](https://camo.githubusercontent.com/5505c880edb0c760888004b06ba610d4b6c6ebad198fda474f766a84481f8815/68747470733a2f2f706f7365722e707567782e6f72672f737570657263686169726f6e2f6c61726176656c2d676f6f676c652d636c6f75642d6c6f6767696e672f646f776e6c6f616473)](https://packagist.org/packages/superchairon/laravel-google-cloud-logging)

This package is a driver for logging and error reporting for Google Cloud Platform Stackdriver.

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

[](#installation)

```
composer require superchairon/laravel-google-cloud-logging
```

Add a new channel in your `logging.php` config

```
        'stackdriver' => [
            'driver' => 'stackdriver',
            'level' => 'debug',
            'logName' => 'my-application-log',
            'labels' => [
                'application' => env('APP_NAME'),
                'environment' => env('APP_ENV'),
                'other labels' => '...',
            ],
        ]
```

### Authentication

[](#authentication)

The Google Client uses a few methods to determine how it should authenticate with the Google API.

If the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS` env vars are set, it will use that.

```
putenv('GOOGLE_CLOUD_PROJECT=project-id');
putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json');
```

Otherwise you can set as config

```
        'stackdriver' => [
            'driver' => 'stackdriver',
            ...
            'projectId' => env('GOOGLE_CLOUD_PROJECT_ID', 'project-id'),
            'keyFilePath' => env('GOOGLE_CLOUD_KEY_FILE', '/path/to/service-account.json'),
        ]
```

While running on **Google Cloud Platform** environments such as **Google Compute Engine**, **Google App Engine** and **Google Kubernetes Engine**, no extra work is needed. The Project ID and Credentials and are discovered automatically. Code should be written as if already authenticated.

For more information visit the [Authentication documentation for the Google Cloud Client Library for PHP](https://github.com/googleapis/google-cloud-php/blob/master/AUTHENTICATION.md)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bcbf1f65116a4efd4ca62a1a2d657b0f221749051964a53674f38898ddab017?d=identicon)[zlatangoralija](/maintainers/zlatangoralija)

---

Top Contributors

[![zlatangoralija](https://avatars.githubusercontent.com/u/36918435?v=4)](https://github.com/zlatangoralija "zlatangoralija (12 commits)")[![mazinsw](https://avatars.githubusercontent.com/u/7927014?v=4)](https://github.com/mazinsw "mazinsw (6 commits)")

### Embed Badge

![Health badge](/badges/omnitaskba-laravel-google-cloud-logging/health.svg)

```
[![Health](https://phpackages.com/badges/omnitaskba-laravel-google-cloud-logging/health.svg)](https://phpackages.com/packages/omnitaskba-laravel-google-cloud-logging)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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