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

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

nmc/laravel-cloud-logging
=========================

Google Cloud Logging For Laravel

2.0.2(1w ago)15.9k↓33.7%MITPHPPHP ^8.3|^8.4|^8.5

Since Feb 28Pushed 1w ago1 watchersCompare

[ Source](https://github.com/new-media-communications/laravel-cloud-logging)[ Packagist](https://packagist.org/packages/nmc/laravel-cloud-logging)[ Docs](https://github.com/new-media-communications/laravel-cloud-logging)[ RSS](/packages/nmc-laravel-cloud-logging/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (16)Versions (15)Used By (0)

Google Cloud Logging For Laravel
================================

[](#google-cloud-logging-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7e4c5c85feffdce566f483e81e9f1c778faad5896f614411d6a84d056464bb75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6d632f6c61726176656c2d636c6f75642d6c6f6767696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nmc/laravel-cloud-logging)[![Total Downloads](https://camo.githubusercontent.com/fbd8e1aa739632fff014bd0e5957f2e03d391f99c0328013c35aa1af7488df48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6d632f6c61726176656c2d636c6f75642d6c6f6767696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nmc/laravel-cloud-logging)

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

[](#installation)

You can install the package via composer:

```
composer require nmc/laravel-cloud-logging
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Nmc\CloudLogging\CloudLoggingServiceProvider" --tag="cloud-logging-config"
```

This is the contents of the published config file:

```
return [
    'enable_error_reporting' => env('CLOUD_LOGGING_ENABLE_ERROR_REPORTING', isset($_SERVER['GAE_SERVICE']) ?? false),
    'logger' => [
        'driver' => 'stackdriver',
        'level' => env('LOG_LEVEL', 'debug'),
        'name' => env('CLOUD_LOGGING_NAME', 'laravel-cloud-logging'),
        'project' => env('CLOUD_LOGGING_PROJECT_ID'),
        'credentials' => env('CLOUD_LOGGING_CREDENTIALS', config_path('stackdriver.json')),
    ],
];
```

Edit `app/Exceptions/Handler.php`

```
    use Nmc\CloudLogging\CloudErrorReporting;

    public function register(): void
    {
        $this->reportable(function (Throwable $e) {
            if (CloudErrorReporting::isEnabled()) {
                CloudErrorReporting::report($e);
            }
        });
    }
```

Usage
-----

[](#usage)

```
use Illuminate\Support\Facades\Log;
Log::channel('stackdriver')->info('Test');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance98

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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 ~100 days

Recently: every ~81 days

Total

13

Last Release

12d ago

Major Versions

1.3.2 → 2.0.02026-03-19

PHP version history (4 changes)1.0.0PHP ^8.1|^8.2

1.1.0PHP ^8.1|^8.2|^8.3

1.3.0PHP ^8.1|^8.2|^8.3|^8.4

2.0.0PHP ^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/21b3438337776ee3262782e5de2056e8a9d851a575078d741da69ba7c43e7876?d=identicon)[fitimvata](/maintainers/fitimvata)

---

Top Contributors

[![fitimvata](https://avatars.githubusercontent.com/u/12052390?v=4)](https://github.com/fitimvata "fitimvata (18 commits)")

---

Tags

google-cloud-platformlaravelphplaravelnmclaravel-cloud-logging

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

167558.4k1](/packages/keepsuit-laravel-opentelemetry)

PHPackages © 2026

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