PHPackages                             javvlon/laravel-google-chat-logger - 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. javvlon/laravel-google-chat-logger

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

javvlon/laravel-google-chat-logger
==================================

A Laravel package for logging errors to Google Chat

v1.2.0(1y ago)22.1k↑221.4%MITPHPPHP &gt;=7.4

Since Sep 26Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/javvlon/laravel-google-chat-logger)[ Packagist](https://packagist.org/packages/javvlon/laravel-google-chat-logger)[ RSS](/packages/javvlon-laravel-google-chat-logger/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (13)Used By (0)

Laravel Google Chat Logger
==========================

[](#laravel-google-chat-logger)

Laravel Google Chat Logger is a simple package that integrates Google Chat logging with Laravel. It sends logs directly to a Google Chat room using a webhook, making it easy to track errors or important events in your Laravel application.

Features
--------

[](#features)

- Send Laravel logs to a Google Chat space via webhook
- Customizable logging level (error, warning, info, etc.)
- Simple setup and configuration

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

[](#installation)

### Step 1: Install the Package via Composer

[](#step-1-install-the-package-via-composer)

To install the package, add it to your `composer.json` or install it directly via the command line:

```
composer require javvlon/laravel-google-chat-logger

```

Configuration
-------------

[](#configuration)

After installing the package, you need to configure your logging channels. To do this, open your `config/logging.php` file and add the `google_chat` channel configuration:

```
'channels' => [
    // Other log channels...

    'google_chat' => [
        'driver' => 'google_chat',
        'webhook_url' => env('GOOGLE_CHAT_WEBHOOK_URL'),
        'level' => 'error', // You can set the desired log level: debug, info, notice, warning, error, critical, alert, emergency
    ],
],

```

### Environment Variables

[](#environment-variables)

You must add your Google Chat webhook URL to your `.env` file:

```
GOOGLE_CHAT_WEBHOOK_URL=https://chat.googleapis.com/v1/spaces/your-space/messages?key=your-key&token=your-token

```

Usage
-----

[](#usage)

Once configured, Laravel will automatically send any logs to Google Chat using the specified channel. You can use the `google_chat` channel to log errors:

```
Log::channel('google_chat')->error('This is a test error log message.');

```

Customization
-------------

[](#customization)

You can adjust the logging level in the `logging.php` configuration to filter what types of logs are sent to Google Chat.

For example, to log only warnings and above:

```
'level' => 'warning',

```

License
-------

[](#license)

The MIT License (MIT). Please see License File for more information.

Contributing
------------

[](#contributing)

Feel free to open issues or submit pull requests to improve the functionality. We welcome contributions!

Support
-------

[](#support)

If you encounter any issues or need assistance, feel free to open a GitHub issue.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance46

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.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 ~3 days

Total

10

Last Release

618d ago

Major Versions

v0.2.0 → v1.0.02024-09-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/b56c02443026f8f78b85eb1b8ad2968fffa4253bbe2aa903cd021db57dad419b?d=identicon)[javvlon](/maintainers/javvlon)

---

Top Contributors

[![Jawlon](https://avatars.githubusercontent.com/u/6663857?v=4)](https://github.com/Jawlon "Jawlon (10 commits)")[![javvlon](https://avatars.githubusercontent.com/u/21100919?v=4)](https://github.com/javvlon "javvlon (4 commits)")

---

Tags

google-chatgooglechatlaravellaravel-frameworklaravel-loggerlogging

### Embed Badge

![Health badge](/badges/javvlon-laravel-google-chat-logger/health.svg)

```
[![Health](https://phpackages.com/badges/javvlon-laravel-google-chat-logger/health.svg)](https://phpackages.com/packages/javvlon-laravel-google-chat-logger)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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