PHPackages                             mkohei/laravel-google-sheets-notification-channel - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mkohei/laravel-google-sheets-notification-channel

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

mkohei/laravel-google-sheets-notification-channel
=================================================

Google Sheets Notification Channel for Laravel

v1.0.0(4y ago)116.0kMITPHPPHP ^8.0

Since Mar 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mkohei/laravel-google-sheets-notification-channel)[ Packagist](https://packagist.org/packages/mkohei/laravel-google-sheets-notification-channel)[ RSS](/packages/mkohei-laravel-google-sheets-notification-channel/feed)WikiDiscussions main Synced 1mo ago

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

Google Sheets notifications channel for Laravel
===============================================

[](#google-sheets-notifications-channel-for-laravel)

[![tests](https://github.com/mkohei/laravel-google-sheets-notification-channel/actions/workflows/tests.yml/badge.svg)](https://github.com/mkohei/laravel-google-sheets-notification-channel/actions/workflows/tests.yml)[![StyleCI](https://camo.githubusercontent.com/1c052827939db34a3a43e4ae8244aa8a553538f4eaa669fcf20f2f09e9acc055/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3437353236393633322f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/475269632?branch=main)

This package makes it easy to send [Google Sheets](https://www.google.com/sheets/about/) using the Laravel notification system and the [Google Sheets API](https://developers.google.com/sheets/api).

Contents
--------

[](#contents)

- [Contents](#contents)
- [Installation](#installation)
- [Usage](#usage)
- [Testing](#testing)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require mkohei/laravel-google-sheets-notification-channel

```

Set your Google App Client ID and Client Secret to `config/services.php`:

```
'google' => [
    'sheets' => [
        'client_id' => env('INTEGRATIONS_GOOGLE_SHEETS_CLIENT_ID'),
        'client_secret' => env('INTEGRATIONS_GOOGLE_SHEETS_CLIENT_SECRET'),
    ],
],
```

Add a service provider to `config/app.php`:

```
/*
 * Package Service Providers...
 */
Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsServiceProvider::class,
```

Usage
-----

[](#usage)

Now you can use the channel in your via() method inside the notification:

```
use Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsChannel;
use Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsMessage;
use Illuminate\Notifications\Notification;

class ProjectCreated extends Notification
{
    public function via($notifiable)
    {
        return [GoogleSheetsChannel::class];
    }

    public function toGoogleSheets($notifiable)
    {
        return TreasureDataMessage::create()
            ->data(['value1', 'value2'])
            ->accessToken('your-access-token')
            ->spreadsheetId('id');
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

[MIT License](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1504d ago

### Community

Maintainers

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

---

Top Contributors

[![mkohei](https://avatars.githubusercontent.com/u/18568863?v=4)](https://github.com/mkohei "mkohei (8 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/mkohei-laravel-google-sheets-notification-channel/health.svg)

```
[![Health](https://phpackages.com/badges/mkohei-laravel-google-sheets-notification-channel/health.svg)](https://phpackages.com/packages/mkohei-laravel-google-sheets-notification-channel)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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