PHPackages                             revosystems/google-cloud - 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. revosystems/google-cloud

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

revosystems/google-cloud
========================

Google Cloud Services to report and log to google

2.0.0(2y ago)028.4kMITPHPPHP ^8.1

Since Aug 25Pushed 2y ago3 watchersCompare

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

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

Laravel Google cloud reporting and error handling library
---------------------------------------------------------

[](#laravel-google-cloud-reporting-and-error-handling-library)

### Installation

[](#installation)

1. Composer

```
composer require revosystems/google-cloud

```

2. Configuration

On logging.php file add the following custom channel to channels array:

```
        'google' => [
            'driver'    => 'custom',
            'via'       => Revosystems\GoogleCloud\Logger::class,
        ],

```

And declare it on stack channel driver:

```
        'stack' => [
            'driver' => 'stack',
            'channels' => ['daily', 'google'],
            'ignore_exceptions' => false,
        ],

```

You can also send errors to google adding ErrorReport::report($e) to your project Exception Handler.

```
class Handler extends ExceptionHandler
    public function report(\Throwable $e)
    {
        if (! $this->shouldReport($e)) {
            return;
        }
        parent::report($e);
        Revosystems\GoogleCloud\ErrorReporter::report($e);
    }

```

Finally, you only need to declare config variables at your .env file:

```
GOOGLE_CLOUD_PROJECT=
GOOGLE_CLOUD_PROJECT_NAME=
GOOGLE_CLOUD_PROJECT_VERSION=
GOOGLE_APPLICATION_CREDENTIALS=

```

Apart from that, you need to configure your google cloud filesystem on config/filesystems.php

```
       'gcs' => [
            'driver'            => 'gcs',
            'project_id'        => env('GOOGLE_CLOUD_PROJECT'),
            'project_name'      => env('GOOGLE_CLOUD_PROJECT_NAME', config('app.name', )),
            'project_version'   => env('GOOGLE_CLOUD_PROJECT_VERSION', config('app.version', '1.0')),
            'key_file'          => env('GOOGLE_APPLICATION_CREDENTIALS')
        ],

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

3

Last Release

831d ago

Major Versions

0.9 → 1.0.02022-04-21

1.0.0 → 2.0.02024-02-06

PHP version history (2 changes)0.9PHP &gt;=7.3

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/13aa4a25aaa44beac32fbd47c7a3c3b76b0ad7754e75600f8b7e229815bdd8aa?d=identicon)[revosystems](/maintainers/revosystems)

---

Top Contributors

[![alexrevo](https://avatars.githubusercontent.com/u/102517594?v=4)](https://github.com/alexrevo "alexrevo (2 commits)")[![PauRevo](https://avatars.githubusercontent.com/u/35812841?v=4)](https://github.com/PauRevo "PauRevo (2 commits)")[![BadChoice](https://avatars.githubusercontent.com/u/93900?v=4)](https://github.com/BadChoice "BadChoice (1 commits)")

### Embed Badge

![Health badge](/badges/revosystems-google-cloud/health.svg)

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[open-telemetry/api

API for OpenTelemetry PHP.

1833.0M214](/packages/open-telemetry-api)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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